http://marcin-wiacek.fkn.pl/english/zips/mygnokii.tar.gz
[gnokii.git] / include / newmodules / sniff / sniff.h
diff --git a/include/newmodules/sniff/sniff.h b/include/newmodules/sniff/sniff.h
new file mode 100644 (file)
index 0000000..f2c20af
--- /dev/null
@@ -0,0 +1,32 @@
+/*\r
+\r
+  G N O K I I\r
+\r
+  A Linux/Unix toolset and driver for Nokia mobile phones.\r
+\r
+  Released under the terms of the GNU GPL, see file COPYING for more details.\r
+\r
+  Header file for the various functions, definitions etc. used to implement\r
+  the handset interface.  See fbus-sniff.c for more details.\r
+\r
+*/\r
+\r
+#ifndef __n_sniff_h\r
+#define __n_sniff_h\r
+\r
+#include "gsm-api.h"\r
+\r
+/* Global variables */\r
+extern bool            Nsniff_LinkOK;\r
+extern GSM_Functions   Nsniff_Functions;\r
+extern GSM_Information Nsniff_Information;\r
+\r
+/* Prototypes for the functions designed to be used externally. */\r
+GSM_Error Nsniff_Initialise(char *port_device, char *initlength,\r
+                          GSM_ConnectionType connection,\r
+                          void (*rlp_callback)(RLP_F96Frame *frame));\r
+\r
+void      Nsniff_DispatchMessage(u16 MessageLength, u8 *MessageBuffer,
+                              u8 MessageType);
+\r
+#endif /* __n_sniff_h */\r