This commit was manufactured by cvs2svn to create branch 'uc'.
[gnokii.git] / include / data / virtmodem.h
diff --git a/include/data/virtmodem.h b/include/data/virtmodem.h
new file mode 100644 (file)
index 0000000..6fe838d
--- /dev/null
@@ -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 */