diff options
Diffstat (limited to 'gobex/gobex.c')
-rw-r--r-- | gobex/gobex.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gobex/gobex.c b/gobex/gobex.c index e9a08fa71..42175fcc0 100644 --- a/gobex/gobex.c +++ b/gobex/gobex.c @@ -1676,6 +1676,16 @@ guint g_obex_move(GObex *obex, const char *name, const char *dest, return g_obex_send_req(obex, req, -1, func, user_data, err); } +guint g_obex_abort(GObex *obex, GObexResponseFunc func, gpointer user_data, + GError **err) +{ + GObexPacket *req; + + req = g_obex_packet_new(G_OBEX_OP_ABORT, TRUE, G_OBEX_HDR_INVALID); + + return g_obex_send_req(obex, req, -1, func, user_data, err); +} + guint8 g_obex_errno_to_rsp(int err) { switch (err) { |