diff options
Diffstat (limited to 'src/libsystemd-bus/sd-bus.h')
-rw-r--r-- | src/libsystemd-bus/sd-bus.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/libsystemd-bus/sd-bus.h b/src/libsystemd-bus/sd-bus.h index 73710d1511..b82caec5f6 100644 --- a/src/libsystemd-bus/sd-bus.h +++ b/src/libsystemd-bus/sd-bus.h @@ -28,15 +28,15 @@ #include "sd-bus-protocol.h" /* TODO: - * * - make unix fd passing work - * - add page donation logic - * - api for appending/reading fixed arrays - * - merge busctl into systemctl or so? - * - add object handlers * - implicitly add stub introspection calls * - implement unix exec protocol * - server side + * + * Later: + * - add page donation logic + * - api for appending/reading fixed arrays + * - merge busctl into systemctl or so? */ typedef struct sd_bus sd_bus; @@ -80,6 +80,12 @@ int sd_bus_flush(sd_bus *bus); int sd_bus_add_filter(sd_bus *bus, sd_message_handler_t callback, void *userdata); int sd_bus_remove_filter(sd_bus *bus, sd_message_handler_t callback, void *userdata); +int sd_bus_add_object(sd_bus *bus, const char *path, sd_message_handler_t callback, void *userdata); +int sd_bus_remove_object(sd_bus *bus, const char *path, sd_message_handler_t callback, void *userdata); + +int sd_bus_add_fallback(sd_bus *bus, const char *prefix, sd_message_handler_t callback, void *userdata); +int sd_bus_remove_fallback(sd_bus *bus, const char *prefix, sd_message_handler_t callback, void *userdata); + /* Message object */ int sd_bus_message_new_signal(sd_bus *bus, const char *path, const char *interface, const char *member, sd_bus_message **m); |