summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-util.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-08-12 00:35:49 +0200
committerTom Gundersen <teg@jklm.no>2013-10-18 00:55:24 +0200
commit0c842e0ac0293ca395724fa3aefcc2e65390c8b7 (patch)
tree1ebfcdbb39c009839c5af51028c3c8e3a5a3e988 /src/libsystemd-bus/bus-util.h
parent7e9cf16c20cd1bca2ba6afb072ef84090cbf5283 (diff)
fsck: port to sd-bus
Diffstat (limited to 'src/libsystemd-bus/bus-util.h')
-rw-r--r--src/libsystemd-bus/bus-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-util.h b/src/libsystemd-bus/bus-util.h
index 354183f690..9b270c8212 100644
--- a/src/libsystemd-bus/bus-util.h
+++ b/src/libsystemd-bus/bus-util.h
@@ -37,6 +37,8 @@ int bus_verify_polkit(sd_bus *bus, sd_bus_message *m, const char *action, bool i
int bus_verify_polkit_async(sd_bus *bus, Hashmap **registry, sd_bus_message *m, const char *action, bool interactive, sd_bus_error *error, sd_bus_message_handler_t callback, void *userdata);
void bus_verify_polkit_async_registry_free(sd_bus *bus, Hashmap *registry);
+int bus_connect_system(sd_bus **_bus);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(sd_bus*, sd_bus_unref);
DEFINE_TRIVIAL_CLEANUP_FUNC(sd_bus_message*, sd_bus_message_unref);