summaryrefslogtreecommitdiff
path: root/src/shared/dbus-common.h
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.h
parentd4e7373bbbc878b0d8ed1c28e21262a6d908d616 (diff)
watchdog: make watchdog dbus properties writable
Diffstat (limited to 'src/shared/dbus-common.h')
-rw-r--r--src/shared/dbus-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/dbus-common.h b/src/shared/dbus-common.h
index ca398fc3f5..2bfcdfa5d4 100644
--- a/src/shared/dbus-common.h
+++ b/src/shared/dbus-common.h
@@ -144,6 +144,9 @@ int bus_property_append_long(DBusMessageIter *i, const char *property, void *dat
#define bus_property_append_unsigned bus_property_append_uint32
#define bus_property_append_usec bus_property_append_uint64
+int bus_property_set_uint64(DBusMessageIter *i, const char *property, void *data);
+#define bus_property_set_usec bus_property_set_uint64
+
#define DEFINE_BUS_PROPERTY_APPEND_ENUM(function,name,type) \
int function(DBusMessageIter *i, const char *property, void *data) { \
const char *value; \