summaryrefslogtreecommitdiff
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorLuiz Augusto Von Dentz <luiz.dentz-von@nokia.com>2009-12-29 10:53:21 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-12-29 01:19:57 -0800
commitde273c875c25c1bd5ab8a012bd9e4ec01b6516d2 (patch)
treee48521f67647839cc9deb02d5bb7f89be1e4aec1 /gdbus/gdbus.h
parent8e894565e933d77aae491ec1bfd3204836f00fff (diff)
downloadconnman-de273c875c25c1bd5ab8a012bd9e4ec01b6516d2.tar.gz
connman-de273c875c25c1bd5ab8a012bd9e4ec01b6516d2.tar.bz2
connman-de273c875c25c1bd5ab8a012bd9e4ec01b6516d2.zip
Add initial implementation of g_dbus_add_signal_watch
With g_dbus_add_signal_watch there is no need to register multiple filters for dbus nor add matching rules manually.
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r--gdbus/gdbus.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 244f7977..170b6691 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -125,8 +125,10 @@ guint g_dbus_add_disconnect_watch(DBusConnection *connection, const char *name,
GDBusWatchFunction function,
void *user_data, GDBusDestroyFunction destroy);
guint g_dbus_add_signal_watch(DBusConnection *connection,
- const char *rule, GDBusSignalFunction function,
- void *user_data, GDBusDestroyFunction destroy);
+ const char *sender, const char *path,
+ const char *interface, const char *member,
+ GDBusSignalFunction function, void *user_data,
+ GDBusDestroyFunction destroy);
gboolean g_dbus_remove_watch(DBusConnection *connection, guint tag);
void g_dbus_remove_all_watches(DBusConnection *connection);