From d49c6a28add97b386f316eb5262756e84df4d662 Mon Sep 17 00:00:00 2001 From: Gustavo Padovan Date: Tue, 28 May 2013 14:45:18 -0300 Subject: [PATCH] transport: add getsockname to transport driver Enable other pieces of obex to get the source Bluetooth address. --- obexd/src/transport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/obexd/src/transport.h b/obexd/src/transport.h index b81615b50..97e10d05f 100644 --- a/obexd/src/transport.h +++ b/obexd/src/transport.h @@ -26,6 +26,7 @@ struct obex_transport_driver { uint16_t service; void *(*start) (struct obex_server *server, int *err); int (*getpeername) (GIOChannel *io, char **name); + int (*getsockname) (GIOChannel *io, char **name); void (*stop) (void *data); };