summaryrefslogtreecommitdiff
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-11-27 14:51:20 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-11-30 10:00:12 +0100
commit985f37dbec74035b91380d22157645724dada5fc (patch)
treea913b89c25c13cfc0d787cf6006f862c2bd587d6 /gdbus/gdbus.h
parent2ac19406bac262098feef0a13b686a103cb2036a (diff)
downloadconnman-985f37dbec74035b91380d22157645724dada5fc.tar.gz
connman-985f37dbec74035b91380d22157645724dada5fc.tar.bz2
connman-985f37dbec74035b91380d22157645724dada5fc.zip
gdbus: Add g_dbus_add_properties_watch function
Convenient function to create watches for D-Bus properties.
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r--gdbus/gdbus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 6aafc615..dd21f866 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -243,6 +243,11 @@ guint g_dbus_add_signal_watch(DBusConnection *connection,
const char *interface, const char *member,
GDBusSignalFunction function, void *user_data,
GDBusDestroyFunction destroy);
+guint g_dbus_add_properties_watch(DBusConnection *connection,
+ const char *sender, const char *path,
+ const char *interface,
+ GDBusSignalFunction function, void *user_data,
+ GDBusDestroyFunction destroy);
gboolean g_dbus_remove_watch(DBusConnection *connection, guint tag);
void g_dbus_remove_all_watches(DBusConnection *connection);