summaryrefslogtreecommitdiffstats
path: root/serial/port.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-23 08:25:46 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-23 08:25:46 +0000
commita3dcbd3ab5d172c2537932ef1e2968140139d176 (patch)
tree62c1ede0e9238bf8a420610da8a9fc0032195522 /serial/port.h
parent75b016927c9deb7c1a1b05628aa2fe56d9c8f255 (diff)
Add Port.GetDevice method
Rename 'name' dict key to 'device
Diffstat (limited to 'serial/port.h')
-rw-r--r--serial/port.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/serial/port.h b/serial/port.h
index 27077925..c0b9073d 100644
--- a/serial/port.h
+++ b/serial/port.h
@@ -22,11 +22,11 @@
*/
int port_add_listener(DBusConnection *conn, int16_t id, bdaddr_t *dst,
- int fd, const char *name, const char *owner);
+ int fd, const char *dev, const char *owner);
-int port_remove_listener(const char *owner, const char *name);
+int port_remove_listener(const char *owner, const char *dev);
int port_register(DBusConnection *conn, int16_t id, bdaddr_t *dst,
- const char *name, char *ppath);
+ const char *dev, char *ppath);
int port_unregister(const char *path);