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