summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/protocol/obex/obex.h
blob: 0e927c7db31ac0cdfd44cf0b2b47befc1b3e2abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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:
 */