From e0c744c9a822d0c578e855f5e9829069583f4f3a Mon Sep 17 00:00:00 2001 From: Christian Fetzer Date: Fri, 12 Apr 2013 11:29:02 +0200 Subject: [PATCH] obexd: Add getattribute to obc_transport This adds a getattribute function pointer to obc_transport, which allows transports to provide the session specific service attributes. --- obexd/client/transport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/obexd/client/transport.h b/obexd/client/transport.h index 51408407f..b035cfc45 100644 --- a/obexd/client/transport.h +++ b/obexd/client/transport.h @@ -31,6 +31,7 @@ struct obc_transport { obc_transport_func func, void *user_data); int (*getpacketopt) (GIOChannel *io, int *tx_mtu, int *rx_mtu); void (*disconnect) (guint id); + const void *(*getattribute) (guint id, int attribute_id); }; int obc_transport_register(struct obc_transport *transport); -- 2.47.3