mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-29 15:14:31 +08:00
transport: add getsockname to transport driver
Enable other pieces of obex to get the source Bluetooth address.
This commit is contained in:
parent
157afa4ebd
commit
d49c6a28ad
@ -26,6 +26,7 @@ struct obex_transport_driver {
|
|||||||
uint16_t service;
|
uint16_t service;
|
||||||
void *(*start) (struct obex_server *server, int *err);
|
void *(*start) (struct obex_server *server, int *err);
|
||||||
int (*getpeername) (GIOChannel *io, char **name);
|
int (*getpeername) (GIOChannel *io, char **name);
|
||||||
|
int (*getsockname) (GIOChannel *io, char **name);
|
||||||
void (*stop) (void *data);
|
void (*stop) (void *data);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user