summaryrefslogtreecommitdiff
path: root/libgammu/protocol/s60/s60.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgammu/protocol/s60/s60.h')
-rw-r--r--libgammu/protocol/s60/s60.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/libgammu/protocol/s60/s60.h b/libgammu/protocol/s60/s60.h
new file mode 100644
index 0000000..ba7c0c8
--- /dev/null
+++ b/libgammu/protocol/s60/s60.h
@@ -0,0 +1,46 @@
+/* This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Copyright (c) 2011 Michal Cihar <michal@cihar.com>
+ */
+
+#ifndef __s60_h
+#define __s60_h
+
+#include "../protocol.h"
+
+typedef enum {
+ S60_Header,
+ S60_Data,
+} S60_State;
+
+typedef struct {
+ GSM_Protocol_Message Msg;
+ S60_State State;
+ char idbuffer[20];
+ int idpos;
+} GSM_Protocol_S60Data;
+
+#if defined(GSM_ENABLE_S60)
+# ifndef GSM_USED_BLUETOOTHDEVICE
+# define GSM_USED_BLUETOOTHDEVICE
+# endif
+#endif
+
+#endif
+
+/* How should editor hadle tabs in this file? Add editor commands here.
+ * vim: noexpandtab sw=8 ts=8 sts=8:
+ */
+