diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-26 23:47:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-26 23:47:23 +0200 |
commit | 60a10e4dba38d5a800309bcfe9b6ab37f01df7c7 (patch) | |
tree | 5297f88a73425aabbebbc21987b4f74f1cee8a7d /src/bus.h | |
parent | add polling functions (diff) | |
download | bus-60a10e4dba38d5a800309bcfe9b6ab37f01df7c7.tar.gz bus-60a10e4dba38d5a800309bcfe9b6ab37f01df7c7.tar.bz2 bus-60a10e4dba38d5a800309bcfe9b6ab37f01df7c7.tar.xz |
remove bus_poll_continue, abi breakage
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/bus.h')
-rw-r--r-- | src/bus.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -92,6 +92,12 @@ typedef struct bus * The address of the shared memory */ char *message; + + /** + * Non-zero if and only if `bus_poll` has not been + * called since the last `bus_poll_start` + */ + int first_poll; } bus_t; @@ -175,7 +181,6 @@ int bus_read(const bus_t *bus, int (*callback)(const char *message, void *user_d 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); |