summaryrefslogtreecommitdiffstats
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:38 -0800
commite8111c822956a29103d53b1b7e75bcd6ccb6be62 (patch)
treeda347b010aae5cdc0fe6fc221ac896a43240fe11 /gdbus/gdbus.h
parent3e02619b440e2345ed4c96209f5c703d00cf5d1e (diff)
downloadofono-e8111c822956a29103d53b1b7e75bcd6ccb6be62.tar.bz2
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);