diff options
author | Michal Čihař <michal@cihar.com> | 2011-02-10 15:32:59 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2011-02-10 15:32:59 +0100 |
commit | 66ce5a2dc79d6132a0db61f880782e56d4f8bfcf (patch) | |
tree | 60a4edadc2ad333cc9984f71f0a364bb7eab7c93 /libgammu/protocol/s60/s60.h | |
parent | a92feb0ede986fd672d2fc6d642ac93084c4da62 (diff) |
Imported Upstream version 1.29.90
Diffstat (limited to 'libgammu/protocol/s60/s60.h')
-rw-r--r-- | libgammu/protocol/s60/s60.h | 46 |
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: + */ + |