chiark / gitweb /
bus: implement 'unixexec:' protocol
[elogind.git] / src / libsystemd-bus / bus-internal.h
index 19965083c6fa281914b9cb341b577e1de968ee1d..b7ed42ccd4496e51816ee5aba43eec5e3dc9ed78 100644 (file)
@@ -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);