summaryrefslogtreecommitdiff
path: root/src/obex.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-11-15 15:27:54 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-11-16 15:41:07 +0200
commit5e24938677cdd556f7ece2be889b01cdf5a53e48 (patch)
tree903039a501346ea758c4d7f749a1d8c0b4235523 /src/obex.h
parent4494df4cef64e969d62c3837d51a7bbb51b16a8c (diff)
downloadobexd-5e24938677cdd556f7ece2be889b01cdf5a53e48.tar.gz
Introduce obex_get_non_header_data
This function remove the need of calling OBEX_ObjectGetNonHdrData in the plugins.
Diffstat (limited to 'src/obex.h')
-rw-r--r--src/obex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obex.h b/src/obex.h
index 6ede0a4..3e8ce00 100644
--- a/src/obex.h
+++ b/src/obex.h
@@ -48,6 +48,8 @@ int obex_move(struct obex_session *os, const char *source,
uint8_t obex_get_action_id(struct obex_session *os);
char *obex_get_id(struct obex_session *os);
ssize_t obex_get_apparam(struct obex_session *os, const uint8_t **buffer);
+ssize_t obex_get_non_header_data(struct obex_session *os,
+ const uint8_t **data);
/* Just a thin wrapper around memcmp to deal with NULL values */
int memncmp0(const void *a, size_t na, const void *b, size_t nb);