diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2011-11-15 15:28:07 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-11-16 15:41:08 +0200 |
commit | 6a3f475ebbdc802a9dad7b8c3a65d9621db80b69 (patch) | |
tree | 634cf488cb72c8489c96555da016a271d317156e | |
parent | 51b0c09ad272831670a2e3926c89327c627ac527 (diff) | |
download | obexd-6a3f475ebbdc802a9dad7b8c3a65d9621db80b69.tar.gz |
pbap: remove dependency on openobex
-rw-r--r-- | plugins/pbap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/pbap.c b/plugins/pbap.c index 7de1dff..0f07c46 100644 --- a/plugins/pbap.c +++ b/plugins/pbap.c @@ -36,9 +36,9 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <inttypes.h> -#include <openobex/obex.h> -#include <openobex/obex_const.h> +#include <gobex.h> #include "obexd.h" #include "plugin.h" @@ -976,7 +976,7 @@ static ssize_t vobject_pull_get_next_header(void *object, void *buf, size_t mtu, if (!obj->buffer && !obj->aparams) return -EAGAIN; - *hi = OBEX_HDR_APPARAM; + *hi = G_OBEX_HDR_APPARAM; if (pbap->params->maxlistcount == 0 || obj->firstpacket) { obj->firstpacket = FALSE; @@ -1028,7 +1028,7 @@ static ssize_t vobject_list_get_next_header(void *object, void *buf, size_t mtu, if (!pbap->cache.valid) return -EAGAIN; - *hi = OBEX_HDR_APPARAM; + *hi = G_OBEX_HDR_APPARAM; if (pbap->params->maxlistcount == 0) return array_read(obj->aparams, buf, mtu); |