diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2011-11-15 15:27:54 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-11-16 15:41:07 +0200 |
commit | 5e24938677cdd556f7ece2be889b01cdf5a53e48 (patch) | |
tree | 903039a501346ea758c4d7f749a1d8c0b4235523 /src/obex.h | |
parent | 4494df4cef64e969d62c3837d51a7bbb51b16a8c (diff) | |
download | obexd-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |