g_dbus_address_escape_value: add
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 13 Feb 2013 20:42:58 +0000 (20:42 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 13 Feb 2013 20:42:58 +0000 (20:42 +0000)
commitd200208d2b8bad7babdd56f4ec6fcae1589e142b
treeeee9ad277e3655314a41f0c3e3e36681fed527e2
parent035cd81477ca9dc3061ff056c269fee28aab89c3
g_dbus_address_escape_value: add

This is a GLib reimplementation of dbus_address_escape_value().
It's useful if you want to construct a D-Bus address from pieces:
for instance, if you have a listening Unix socket whose path is known,
and you want to connect a D-Bus peer to it.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=693673
Reviewed-by: Colin Walters <walters@verbum.org>
[amended to add Since: 2.36 as per review]
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
gio/gdbusaddress.c
gio/gdbusaddress.h
gio/tests/gdbus-addresses.c