summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-25 02:30:32 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-25 02:33:35 +0100
commit2fd9ae2e9bd585312e15f8383036caee704822fb (patch)
treec37a71c351e183c47539e54eccd59548e5e2dc51 /src/libsystemd-bus/bus-internal.h
parent021a1e78d7621bcd844a9bf22efca88960a8e28b (diff)
bus: implement 'unixexec:' protocol
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r--src/libsystemd-bus/bus-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h
index 19965083c6..b7ed42ccd4 100644
--- a/src/libsystemd-bus/bus-internal.h
+++ b/src/libsystemd-bus/bus-internal.h
@@ -120,6 +120,9 @@ struct sd_bus {
int *fds;
unsigned n_fds;
+
+ char *exec_path;
+ char **exec_argv;
};
static inline void bus_unrefp(sd_bus **b) {
@@ -145,6 +148,8 @@ static inline void bus_unrefp(sd_bus **b) {
#define BUS_FDS_MAX 1024
+#define BUS_EXEC_ARGV_MAX 256
+
bool object_path_is_valid(const char *p);
bool interface_name_is_valid(const char *p);
bool service_name_is_valid(const char *p);