http://marcin-wiacek.fkn.pl/english/zips/mygnokii.tar.gz
[gnokii.git] / include / newmodules / sniff / sniff.h
1 /*\r
2 \r
3   G N O K I I\r
4 \r
5   A Linux/Unix toolset and driver for Nokia mobile phones.\r
6 \r
7   Released under the terms of the GNU GPL, see file COPYING for more details.\r
8 \r
9   Header file for the various functions, definitions etc. used to implement\r
10   the handset interface.  See fbus-sniff.c for more details.\r
11 \r
12 */\r
13 \r
14 #ifndef __n_sniff_h\r
15 #define __n_sniff_h\r
16 \r
17 #include "gsm-api.h"\r
18 \r
19 /* Global variables */\r
20 extern bool            Nsniff_LinkOK;\r
21 extern GSM_Functions   Nsniff_Functions;\r
22 extern GSM_Information Nsniff_Information;\r
23 \r
24 /* Prototypes for the functions designed to be used externally. */\r
25 GSM_Error Nsniff_Initialise(char *port_device, char *initlength,\r
26                           GSM_ConnectionType connection,\r
27                           void (*rlp_callback)(RLP_F96Frame *frame));\r
28 \r
29 void      Nsniff_DispatchMessage(u16 MessageLength, u8 *MessageBuffer,
30                               u8 MessageType);
31 \r
32 #endif /* __n_sniff_h */\r