summaryrefslogtreecommitdiff
path: root/src/core/dbus.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-28 18:13:19 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-28 18:13:19 +0900
commitbbc1acaba0e3b73cf6fbf5f7b6de2f1719a1d5a6 (patch)
treecc5e732a28126a2fd3665ca1b8c7a25e7ac6caae /src/core/dbus.h
parent19e69a9c7a3a84f25d4c21c7c7f8f60c24685432 (diff)
downloadsystemd-bbc1acaba0e3b73cf6fbf5f7b6de2f1719a1d5a6.tar.gz
core: add --dump-bus-properties option to systemd
If systemd is invoked with this option, this dumps all bus properties. This may be useful for shell completion for `systemctl --property`.
Diffstat (limited to 'src/core/dbus.h')
-rw-r--r--src/core/dbus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus.h b/src/core/dbus.h
index 1ef1fa27fd..a7a0eb3249 100644
--- a/src/core/dbus.h
+++ b/src/core/dbus.h
@@ -39,3 +39,5 @@ int bus_verify_set_environment_async(Manager *m, sd_bus_message *call, sd_bus_er
int bus_forward_agent_released(Manager *m, const char *path);
uint64_t manager_bus_n_queued_write(Manager *m);
+
+void dump_bus_properties(FILE *f);