summaryrefslogtreecommitdiffstats
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r--gdbus/gdbus.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 4733f354..df065613 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -111,8 +111,11 @@ gboolean g_dbus_emit_signal_valist(DBusConnection *connection,
const char *path, const char *interface,
const char *name, int type, va_list args);
-guint g_dbus_add_disconnect_watch(DBusConnection *connection,
- const char *name,
+guint g_dbus_add_service_watch(DBusConnection *connection, const char *name,
+ GDBusWatchFunction connect,
+ GDBusWatchFunction disconnect,
+ void *user_data, GDBusDestroyFunction destroy);
+guint g_dbus_add_disconnect_watch(DBusConnection *connection, const char *name,
GDBusWatchFunction function,
void *user_data, GDBusDestroyFunction destroy);
gboolean g_dbus_remove_watch(DBusConnection *connection, guint tag);