diff options
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 0e5c0126..4caa31da 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -274,8 +274,12 @@ gboolean g_dbus_get_properties(DBusConnection *connection, const char *path, gboolean g_dbus_attach_object_manager(DBusConnection *connection); gboolean g_dbus_detach_object_manager(DBusConnection *connection); +typedef struct GDBusClient GDBusClient; typedef struct GDBusProxy GDBusProxy; +GDBusProxy *g_dbus_proxy_new(GDBusClient *client, const char *path, + const char *interface); + GDBusProxy *g_dbus_proxy_ref(GDBusProxy *proxy); void g_dbus_proxy_unref(GDBusProxy *proxy); @@ -300,8 +304,6 @@ gboolean g_dbus_proxy_method_call(GDBusProxy *proxy, const char *method, GDBusReturnFunction function, void *user_data, GDBusDestroyFunction destroy); -typedef struct GDBusClient GDBusClient; - GDBusClient *g_dbus_client_new(DBusConnection *connection, const char *service, const char *path); |