summaryrefslogtreecommitdiff
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:31 -0800
commitf84c848f983d8a5c93ba5e93f156b9ecff554f5e (patch)
tree2b3b05b0a94aeb35a3f7c107734309411433e436 /gdbus/gdbus.h
parent3bda76eb442c9395db1dba17352c3e78376671cc (diff)
downloadconnman-f84c848f983d8a5c93ba5e93f156b9ecff554f5e.tar.gz
connman-f84c848f983d8a5c93ba5e93f156b9ecff554f5e.tar.bz2
connman-f84c848f983d8a5c93ba5e93f156b9ecff554f5e.zip
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);