---
lib/obex_object.c | 36 ------------------------------------
lib/obex_object.h | 2 --
2 files changed, 0 insertions(+), 38 deletions(-)
diff --git a/lib/obex_object.c b/lib/obex_object.c
index 00c75ee..78a15c5 100644
--- a/lib/obex_object.c
+++ b/lib/obex_object.c
@@ -634,42 +634,6 @@ int obex_object_send_transmit(obex_t *self, obex_object_t
*object)
}
/*
- * Function obex_object_send()
- *
- * Send away an object packet.
- * Returns:
- * 1 complete
- * 0 incomplete but no error
- * -1 error
- */
-int obex_object_send(obex_t *self, obex_object_t *object, int allowfinalcmd,
- int forcefinalbit)
-{
- int ret;
-
- /* Return finished if aborted */
- if (object->abort) {
- (void)buf_reuse(self->tx_msg);
- return 1;
- }
-
- if (buf_empty(self->tx_msg)) {
- ret = obex_object_prepare_send(self, object, allowfinalcmd,
- forcefinalbit);
- if (ret == -1) {
- DEBUG(4, "Packet prepare error\n");
- return -1;
- } else if (ret == 0)
- return 0;
- }
-
- ret = obex_object_send_transmit(self, object);
- if (ret == 1)
- ret = obex_object_finished(self, object, allowfinalcmd);
- return ret;
-}
-
-/*
* Function obex_object_getnextheader()
*
* Return the next header in the rx-queue
diff --git a/lib/obex_object.h b/lib/obex_object.h
index 914b405..60c990a 100644
--- a/lib/obex_object.h
+++ b/lib/obex_object.h
@@ -98,8 +98,6 @@ int obex_object_prepare_send(obex_t *self, obex_object_t
*object,
int obex_object_finished(obex_t *self, obex_object_t *object,
int allowfinalcmd);
int obex_object_send_transmit(obex_t *self, obex_object_t *object);
-int obex_object_send(struct obex *self, struct obex_object *object,
- int allowfinalcmd, int forcefinalbit);
int obex_object_receive_nonhdr_data(obex_t *self, buf_t *msg);
int obex_object_receive_headers(obex_t *self, buf_t *msg, uint64_t filter);
--
1.7.5.4
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users