diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2011-12-17 12:17:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-04 22:22:04 +0100 |
commit | dd0e00c06f42773efe6512597163c7f8036c3341 (patch) | |
tree | 3020701daa3bbfa118bcd68dbb203fa07823f9f9 /gobex | |
parent | 474d67b63163e523f7b1897d1230815faa0f65f7 (diff) |
gobex: add defines for possible values of SRMP header
Also rename G_OBEX_HDR_SRM_PARAMETERS to just G_OBEX_HDR_SRMP as the spec
normally refer to it.
Diffstat (limited to 'gobex')
-rw-r--r-- | gobex/gobex-header.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gobex/gobex-header.h b/gobex/gobex-header.h index 3320cfaa7..2ee83649b 100644 --- a/gobex/gobex-header.h +++ b/gobex/gobex-header.h @@ -53,7 +53,7 @@ #define G_OBEX_HDR_DESTNAME 0x15 #define G_OBEX_HDR_PERMISSIONS 0xd6 #define G_OBEX_HDR_SRM 0x97 -#define G_OBEX_HDR_SRM_PARAMETERS 0x98 +#define G_OBEX_HDR_SRMP 0x98 /* Action header values */ #define G_OBEX_ACTION_COPY 0x00 @@ -65,6 +65,11 @@ #define G_OBEX_SRM_ENABLE 0x01 #define G_OBEX_SRM_INDICATE 0x02 +/* SRMP header values */ +#define G_OBEX_SRMP_NEXT 0x00 +#define G_OBEX_SRMP_WAIT 0x01 +#define G_OBEX_SRMP_NEXT_WAIT 0x02 + typedef struct _GObexHeader GObexHeader; gboolean g_obex_header_get_unicode(GObexHeader *header, const char **str); |