summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-29 12:41:26 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-29 17:00:05 +0100
commitebd011d95b61a86258dece9864f65b7c4af721c0 (patch)
treeee0df0dbbd62f0515f158bd04aa295963d3dbaf2 /src/libsystemd/sd-bus/bus-util.h
parent6a140df0048c99e62339d97effbe16a1bba42d45 (diff)
machinectl: add new "start" verb to start a container as a service in nspawn
Diffstat (limited to 'src/libsystemd/sd-bus/bus-util.h')
-rw-r--r--src/libsystemd/sd-bus/bus-util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-util.h b/src/libsystemd/sd-bus/bus-util.h
index 0609882294..31e7fadbb6 100644
--- a/src/libsystemd/sd-bus/bus-util.h
+++ b/src/libsystemd/sd-bus/bus-util.h
@@ -201,3 +201,12 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(sd_bus_track*, sd_bus_track_unref);
int bus_maybe_reply_error(sd_bus_message *m, int r, sd_bus_error *error);
int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignment);
+
+typedef struct BusWaitForJobs BusWaitForJobs;
+
+int bus_wait_for_jobs_new(sd_bus *bus, BusWaitForJobs **ret);
+void bus_wait_for_jobs_free(BusWaitForJobs *d);
+int bus_wait_for_jobs_add(BusWaitForJobs *d, const char *path);
+int bus_wait_for_jobs(BusWaitForJobs *d, bool quiet);
+
+DEFINE_TRIVIAL_CLEANUP_FUNC(BusWaitForJobs*, bus_wait_for_jobs_free);