diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-05-17 19:37:49 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-05-17 19:37:49 +0000 |
commit | 2fbfb83dae49fb9de541869986bc719e06b6cf12 (patch) | |
tree | 0da08cbf09b2f33fcaa91379257743b5c9e8d31b /serial/port.h | |
parent | 01cb453b85b7cf26ee9e5f848717d82ce455070a (diff) |
serial: added port GetAddress
Diffstat (limited to 'serial/port.h')
-rw-r--r-- | serial/port.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/serial/port.h b/serial/port.h index c6a74548..2907647b 100644 --- a/serial/port.h +++ b/serial/port.h @@ -24,12 +24,13 @@ typedef void (*open_notify_t) (int fd, int err, void *data); typedef void (*udata_free_t) (void *data); -int port_add_listener(DBusConnection *conn, int id, int fd, - const char *name, const char *owner); +int port_add_listener(DBusConnection *conn, int id, bdaddr_t *dst, + int fd, const char *name, const char *owner); int port_remove_listener(const char *owner, const char *name); -int port_register(DBusConnection *conn, int id, const char *name, char *ppath); +int port_register(DBusConnection *conn, int id, bdaddr_t *dst, + const char *name, char *ppath); int port_unregister(const char *path); |