diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/obex.c | 11 | ||||
-rw-r--r-- | src/obex.h | 2 |
2 files changed, 0 insertions, 13 deletions
@@ -1548,17 +1548,6 @@ ssize_t obex_aparam_read(struct obex_session *os, return -EBADR; } -int obex_aparam_write(struct obex_session *os, - obex_object_t *obj, const uint8_t *data, unsigned int size) -{ - obex_headerdata_t hd; - - hd.bs = data; - - return OBEX_ObjectAddHeader(os->obex, obj, - OBEX_HDR_APPARAM, hd, size, 0); -} - int memncmp0(const void *a, size_t na, const void *b, size_t nb) { if (na != nb) @@ -49,8 +49,6 @@ uint8_t obex_get_action_id(struct obex_session *os); char *obex_get_id(struct obex_session *os); ssize_t obex_aparam_read(struct obex_session *os, obex_object_t *obj, const uint8_t **buffer); -int obex_aparam_write(struct obex_session *os, obex_object_t *obj, - const uint8_t *buffer, unsigned int size); /* 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); |