diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-12-27 21:19:31 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-12-27 23:59:19 -0800 |
commit | 8bef871cffd92cde21f9c727329740ee1e3b6d3d (patch) | |
tree | 49f85cf0bee05b01c4e24991bf6059d62a5a575c /gdbus/gdbus.h | |
parent | d1bd840d2eb19077df1bf71003895f23f7955891 (diff) | |
download | ofono-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.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); |