aboutsummaryrefslogtreecommitdiffstats
path: root/src/bus.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-26 23:09:47 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-26 23:09:47 +0200
commitf55736973fe53a0f7cf139887235998521adf67e (patch)
tree78c122a80903498fcf7f2ae2a3e7642c1aeb52b6 /src/bus.h
parentman pages: edit bugs section (diff)
downloadbus-f55736973fe53a0f7cf139887235998521adf67e.tar.gz
bus-f55736973fe53a0f7cf139887235998521adf67e.tar.bz2
bus-f55736973fe53a0f7cf139887235998521adf67e.tar.xz
add polling functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/bus.h')
-rw-r--r--src/bus.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bus.h b/src/bus.h
index d67b4f2..64acba7 100644
--- a/src/bus.h
+++ b/src/bus.h
@@ -173,6 +173,12 @@ int bus_write(const bus_t *bus, const char *message);
int bus_read(const bus_t *bus, int (*callback)(const char *message, void *user_data), void *user_data);
+int bus_poll_start(const bus_t *bus);
+int bus_poll_stop(const bus_t *bus);
+int bus_poll_continue(const bus_t *bus);
+const char *bus_poll(const bus_t *bus);
+
+
#endif