summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-match.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-31 16:26:14 +0200
committerLennart Poettering <lennart@poettering.net>2013-03-31 16:26:14 +0200
commit52f3ba915bdce4d7476c3ea53b8371deff5f567d (patch)
treeae3536199daa0c2676b7fc87e2043a4a3bc4f12d /src/libsystemd-bus/bus-match.h
parent392d5b378ceae5e1fd7c91ca545fcf4cd105744a (diff)
bus: s/sd_message_handler_t/sd_bus_message_handler_t/g
Diffstat (limited to 'src/libsystemd-bus/bus-match.h')
-rw-r--r--src/libsystemd-bus/bus-match.h6
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);