summaryrefslogtreecommitdiffstats
path: root/serial/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'serial/port.h')
-rw-r--r--serial/port.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/serial/port.h b/serial/port.h
index 9cab2847..1b17fb66 100644
--- a/serial/port.h
+++ b/serial/port.h
@@ -24,8 +24,10 @@
typedef void (*open_notify_t) (int fd, int err, void *data);
typedef void (*udata_free_t) (void *data);
-int port_register(DBusConnection *conn, int id, int fd,
- const char *name, const char *owner, char *path);
+int port_add_listener(DBusConnection *conn, int id, int fd,
+ const char *name, const char *owner);
+
+int port_register(DBusConnection *conn, int id, const char *name, char *ppath);
const char *port_get_owner(DBusConnection *conn, int16_t id);