summaryrefslogtreecommitdiff
path: root/src/shared/dbus-common.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 21:33:28 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 21:37:59 +0200
commitc757a65b6afb462bde082b5362bbb5a074b5bb7b (patch)
tree418574d4844ca800499f23d01b285b2b72e18f81 /src/shared/dbus-common.c
parentd4e7373bbbc878b0d8ed1c28e21262a6d908d616 (diff)
watchdog: make watchdog dbus properties writable
Diffstat (limited to 'src/shared/dbus-common.c')
-rw-r--r--src/shared/dbus-common.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/dbus-common.c b/src/shared/dbus-common.c
index badd037db1..6d000e1162 100644
--- a/src/shared/dbus-common.c
+++ b/src/shared/dbus-common.c
@@ -660,6 +660,16 @@ int bus_property_append_long(DBusMessageIter *i, const char *property, void *dat
return 0;
}
+int bus_property_set_uint64(DBusMessageIter *i, const char *property, void *data) {
+ uint64_t *t = data;
+
+ assert(i);
+ assert(property);
+
+ dbus_message_iter_get_basic(i, t);
+ return 0;
+}
+
const char *bus_errno_to_dbus(int error) {
switch(error) {