X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdata%2Fvirtmodem.h;fp=include%2Fdata%2Fvirtmodem.h;h=6fe838dfa310ba1a4e1475405866c7aec2b189cd;hp=0000000000000000000000000000000000000000;hb=833e1c7c90e13ceaba3dde8e7a36fcc8dfb1db3c;hpb=2e0972b02d101bb0d8e9d3e15d2ac80def491a63 diff --git a/include/data/virtmodem.h b/include/data/virtmodem.h new file mode 100644 index 0000000..6fe838d --- /dev/null +++ b/include/data/virtmodem.h @@ -0,0 +1,37 @@ +/* + + G N O K I I + + A Linux/Unix toolset and driver for Nokia mobile phones. + + Released under the terms of the GNU GPL, see file COPYING for more details. + + Header file for virtmodem code in virtmodem.c + +*/ + +#ifndef __virtmodem_h +#define __virtmodem_h + +/* Prototypes */ + +bool VM_Initialise(char *model, + char *port, + char *initlength, + GSM_ConnectionType connection, + char *bindir, + bool debug_mode, + bool GSM_Init, + char *synchronizetime); +int VM_PtySetup(char *bindir); +void VM_ThreadLoop(void); +void VM_CharHandler(void); +int VM_GetMasterPty(char **name); +void VM_Terminate(void); +GSM_Error VM_GSMInitialise(char *model, + char *port, + char *initlength, + GSM_ConnectionType connection, + char *synchronizetime); + +#endif /* __virtmodem_h */