transport: add getsockname to transport driver

Enable other pieces of obex to get the source Bluetooth address.
This commit is contained in:
Gustavo Padovan 2013-05-28 14:45:18 -03:00 committed by Luiz Augusto von Dentz
parent 157afa4ebd
commit d49c6a28ad

View File

@ -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);
};