summaryrefslogtreecommitdiff
path: root/src/core/dbus-execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-25 16:59:51 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-25 17:40:53 +0100
commit4d4c80d073f26368d123f8cebff5b4c36a6beace (patch)
treec055ac7634be9932a63b54286886d7f12ae2ab0d /src/core/dbus-execute.h
parent290837072b136624f1f3d941c7274e4b1b275021 (diff)
core: fix serialization of exec command structs
Diffstat (limited to 'src/core/dbus-execute.h')
-rw-r--r--src/core/dbus-execute.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/dbus-execute.h b/src/core/dbus-execute.h
index 1574c309de..5c8bc3063d 100644
--- a/src/core/dbus-execute.h
+++ b/src/core/dbus-execute.h
@@ -34,7 +34,11 @@
#define BUS_EXEC_COMMAND_VTABLE(name, offset, flags) \
SD_BUS_PROPERTY(name, "a(sasbttttuii)", bus_property_get_exec_command, offset, flags)
+#define BUS_EXEC_COMMAND_LIST_VTABLE(name, offset, flags) \
+ SD_BUS_PROPERTY(name, "a(sasbttttuii)", bus_property_get_exec_command_list, offset, flags)
+
extern const sd_bus_vtable bus_exec_vtable[];
int bus_property_get_exec_output(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);
int bus_property_get_exec_command(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);
+int bus_property_get_exec_command_list(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *ret_error);