diff options
Diffstat (limited to 'src/libsystemd-bus/sd-bus.h')
-rw-r--r-- | src/libsystemd-bus/sd-bus.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libsystemd-bus/sd-bus.h b/src/libsystemd-bus/sd-bus.h index bffce10c1f..c97b2f4f49 100644 --- a/src/libsystemd-bus/sd-bus.h +++ b/src/libsystemd-bus/sd-bus.h @@ -53,8 +53,14 @@ typedef int (*sd_message_handler_t)(sd_bus *bus, int ret, sd_bus_message *m, voi int sd_bus_open_system(sd_bus **ret); int sd_bus_open_user(sd_bus **ret); -int sd_bus_open_address(const char *address, sd_bus **ret); -int sd_bus_open_fd(int fd, sd_bus **ret); + +int sd_bus_new(sd_bus **ret); +int sd_bus_set_address(sd_bus *bus, const char *address); +int sd_bus_set_fd(sd_bus *bus, int fd); +int sd_bus_set_hello(sd_bus *bus, int b); +int sd_bus_set_negotiate_fds(sd_bus *bus, int b); +int sd_bus_start(sd_bus *ret); + void sd_bus_close(sd_bus *bus); sd_bus *sd_bus_ref(sd_bus *bus); |