summaryrefslogtreecommitdiff
path: root/src/nm-dbus-manager.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-03-04 08:53:18 -0600
committerDan Williams <dcbw@redhat.com>2013-04-08 10:55:38 -0500
commitb6b09a5f11a7d6f61bead995923c57e4972983f9 (patch)
tree9da222012f8cbcf972631ab479f9676c0982a939 /src/nm-dbus-manager.h
parent72bdb5707e5103359c2b46d9d5f4e803a0438997 (diff)
core: add DBus Proxy creation helper
We need to use dbus_g_proxy_new_for_peer() when creating a proxy for private service connections.
Diffstat (limited to 'src/nm-dbus-manager.h')
-rw-r--r--src/nm-dbus-manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nm-dbus-manager.h b/src/nm-dbus-manager.h
index e132aa68d5..83109aa90b 100644
--- a/src/nm-dbus-manager.h
+++ b/src/nm-dbus-manager.h
@@ -109,6 +109,12 @@ void nm_dbus_manager_private_server_register (NMDBusManager *self,
const char *path,
const char *tag);
+DBusGProxy *nm_dbus_manager_new_proxy (NMDBusManager *self,
+ DBusGMethodInvocation *context,
+ const char *name,
+ const char *path,
+ const char *iface);
+
#if !HAVE_DBUS_GLIB_GMI_GET_CONNECTION
DBusGConnection *dbus_g_method_invocation_get_g_connection (DBusGMethodInvocation *context);
#endif