aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-30 15:34:50 +0100
committerLennart Poettering <lennart@poettering.net>2013-10-30 15:37:02 +0100
commita7893c6b28772edbc7e1fea3c209caa54d465648 (patch)
treeae9e44874c63592f44321b9fc9ed07b2c808ef58 /src/systemd
parentbus: move ssh support into public API of libsystem-bus (diff)
downloadsystemd-a7893c6b28772edbc7e1fea3c209caa54d465648.tar.gz
systemd-a7893c6b28772edbc7e1fea3c209caa54d465648.tar.bz2
systemd-a7893c6b28772edbc7e1fea3c209caa54d465648.zip
bus: add API call to create bus connection to the system bus of local containers
Also, add support for this to machinectl, so that we can enumerate the machines that run inside a container. We must go deeper!
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-bus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h
index 7b6c86dd3..7163b0c40 100644
--- a/src/systemd/sd-bus.h
+++ b/src/systemd/sd-bus.h
@@ -61,6 +61,7 @@ typedef int (*sd_bus_node_enumerator_t) (sd_bus *bus, const char *path, char ***
int sd_bus_open_user(sd_bus **ret);
int sd_bus_open_system(sd_bus **ret);
int sd_bus_open_system_remote(const char *host, sd_bus **ret);
+int sd_bus_open_system_container(const char *machine, sd_bus **ret);
int sd_bus_new(sd_bus **ret);
int sd_bus_set_address(sd_bus *bus, const char *address);