diff options
Diffstat (limited to 'src/libsystemd-bus/bus-match.h')
-rw-r--r-- | src/libsystemd-bus/bus-match.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-bus/bus-match.h b/src/libsystemd-bus/bus-match.h index 0a63b55403..a31c5d67dc 100644 --- a/src/libsystemd-bus/bus-match.h +++ b/src/libsystemd-bus/bus-match.h @@ -58,7 +58,7 @@ struct bus_match_node { char *str; } value; struct { - sd_message_handler_t callback; + sd_bus_message_handler_t callback; void *userdata; } leaf; struct { @@ -70,8 +70,8 @@ struct bus_match_node { int bus_match_run(sd_bus *bus, struct bus_match_node *root, int ret, sd_bus_message *m); -int bus_match_add(struct bus_match_node *root, const char *match, sd_message_handler_t callback, void *userdata, struct bus_match_node **ret); -int bus_match_remove(struct bus_match_node *root, const char *match, sd_message_handler_t callback, void *userdata); +int bus_match_add(struct bus_match_node *root, const char *match, sd_bus_message_handler_t callback, void *userdata, struct bus_match_node **ret); +int bus_match_remove(struct bus_match_node *root, const char *match, sd_bus_message_handler_t callback, void *userdata); void bus_match_free(struct bus_match_node *node); |