summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/protocol/obex/obex.h
Side-by-side diff
Diffstat (limited to 'gammu/emb/common/protocol/obex/obex.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/protocol/obex/obex.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/gammu/emb/common/protocol/obex/obex.h b/gammu/emb/common/protocol/obex/obex.h
new file mode 100644
index 0000000..0e927c7
--- a/dev/null
+++ b/gammu/emb/common/protocol/obex/obex.h
@@ -0,0 +1,33 @@
+/* (c) 2003 by Marcin Wiacek */
+
+#ifndef obex_h
+#define obex_h
+
+#include "../protocol.h"
+
+typedef struct {
+ int MsgRXState;
+ GSM_Protocol_Message Msg;
+} GSM_Protocol_OBEXData;
+
+#ifndef GSM_USED_SERIALDEVICE
+# define GSM_USED_SERIALDEVICE
+#endif
+#if defined(GSM_ENABLE_BLUEOBEX)
+# ifndef GSM_USED_BLUETOOTHDEVICE
+# define GSM_USED_BLUETOOTHDEVICE
+# endif
+#endif
+#if defined(GSM_ENABLE_IRDAOBEX)
+# ifndef GSM_USED_IRDADEVICE
+# define GSM_USED_IRDADEVICE
+# endif
+#endif
+
+void OBEXAddBlock(char *Buffer, int *Pos, unsigned char ID, char *AddBuffer, int AddLength);
+
+#endif
+
+/* How should editor hadle tabs in this file? Add editor commands here.
+ * vim: noexpandtab sw=8 ts=8 sts=8:
+ */