summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-11-15 15:27:52 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-11-16 15:41:07 +0200
commit01c49ca3f0e1a4eb34de9144df1c21f64e88c12f (patch)
treeabeac7ba897ab8e1013951cf8a2bebfe313c7d62 /src
parenta8ff7ac506365a767de3a680db4ff0f454d97400 (diff)
downloadobexd-01c49ca3f0e1a4eb34de9144df1c21f64e88c12f.tar.gz
Remove unused function obex_aparam_write
Diffstat (limited to 'src')
-rw-r--r--src/obex.c11
-rw-r--r--src/obex.h2
2 files changed, 0 insertions, 13 deletions
diff --git a/src/obex.c b/src/obex.c
index 0d00f7f..70a0c68 100644
--- a/src/obex.c
+++ b/src/obex.c
@@ -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)
diff --git a/src/obex.h b/src/obex.h
index 0f3360b..e3f399a 100644
--- a/src/obex.h
+++ b/src/obex.h
@@ -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);