summaryrefslogtreecommitdiffstats
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-27 21:19:31 -0800
committerMarcel Holtmann <marcel@holtmann.org>2012-12-27 23:59:19 -0800
commit8bef871cffd92cde21f9c727329740ee1e3b6d3d (patch)
tree49f85cf0bee05b01c4e24991bf6059d62a5a575c /gdbus/gdbus.h
parentd1bd840d2eb19077df1bf71003895f23f7955891 (diff)
downloadofono-8bef871cffd92cde21f9c727329740ee1e3b6d3d.tar.bz2
gdbus: Add support for creating D-Bus proxies without object manager
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 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);