diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-05 03:55:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-05 03:55:58 +0200 |
commit | 7286037fd438e93137571fa68a741cc894d8e549 (patch) | |
tree | f34cbc20ec29ca10e1d866859c0f0289ed14fb72 /src/libsystemd-bus/bus-match.h | |
parent | 6807947e56d7d1b40ec4e984a5f631fb6d5a6834 (diff) |
bus: properly detect and handle if a callback is installed/removed from within a callback
Diffstat (limited to 'src/libsystemd-bus/bus-match.h')
-rw-r--r-- | src/libsystemd-bus/bus-match.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-match.h b/src/libsystemd-bus/bus-match.h index a31c5d67dc..075f1a9e3a 100644 --- a/src/libsystemd-bus/bus-match.h +++ b/src/libsystemd-bus/bus-match.h @@ -54,12 +54,13 @@ struct bus_match_node { union { struct { - uint8_t u8; char *str; + uint8_t u8; } value; struct { sd_bus_message_handler_t callback; void *userdata; + unsigned last_iteration; } leaf; struct { /* If this is set, then the child is NULL */ |