diff options
author | Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com> | 2009-12-29 10:53:21 +0200 |
---|---|---|
committer | Luiz Augusto Von Dentz <luiz.dentz-von@nokia.com> | 2009-12-29 10:53:21 +0200 |
commit | 0b456960c087cad88ba25f9e56dba58ce2213d8a (patch) | |
tree | 020544fe988ade4ad4f4395b12ff48f353adf835 /gdbus/gdbus.h | |
parent | 622d6f83ecb8bfc6cceba3e52fd43597a8c5568b (diff) | |
download | bluez-0b456960c087cad88ba25f9e56dba58ce2213d8a.tar.gz |
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.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index 244f79779..170b6691c 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); |