chiark / gitweb /
bus: properly detect and handle if a callback is installed/removed from within a...
[elogind.git] / src / libsystemd-bus / bus-match.h
index a31c5d67dc9022bea553af2d7715eed43ccee207..075f1a9e3abc31260f4e78fffaa4569fa43c0986 100644 (file)
@@ -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 */