This commit was generated by cvs2svn to compensate for changes in r158,
[gnokii.git] / include / data / virtmodem.h
1 /*
2
3   $Id$
4
5   G N O K I I
6
7   A Linux/Unix toolset and driver for Nokia mobile phones.
8
9   Copyright (C) 1999, 2000 Hugh Blemings & Pavel Janík ml.
10
11   Released under the terms of the GNU GPL, see file COPYING for more details.
12
13   Header file for virtmodem code in virtmodem.c
14
15   $Log$
16   Revision 1.1.1.3  2002/04/03 00:08:20  short
17   Found in "gnokii-working" directory, some November-patches version
18
19   Revision 1.1  2001/02/21 19:57:11  chris
20   More fiddling with the directory layout
21
22
23 */
24
25 #ifndef __data_virtmodem_h
26 #define __data_virtmodem_h
27
28 /* Prototypes */
29
30 bool VM_Initialise(char *model,
31                    char *port,
32                    char *initlength,
33                    GSM_ConnectionType connection,
34                    char *bindir,
35                    bool debug_mode,
36                    bool GSM_Init);
37 int  VM_PtySetup(char *bindir);
38 void VM_ThreadLoop(void);
39 void VM_CharHandler(void);
40 int  VM_GetMasterPty(char **name);
41 void VM_Terminate(void);
42 GSM_Error VM_GSMInitialise(char *model,
43                            char *port,
44                            char *initlength,
45                            GSM_ConnectionType connection);
46
47 #endif  /* __virtmodem_h */