X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgdbusaddress.h;h=fb6283667a82bc9df86af40512d49d3fcf3b73e2;hb=ffe286e647ce9ba9bb8e1631ba3cf0194038f438;hp=abd2c2e314a064c715d1567fff62c31bb0952014;hpb=e1b99b2ddcf21f5dab26ad74afa6935eaf70028e;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gdbusaddress.h b/gio/gdbusaddress.h index abd2c2e..fb62836 100644 --- a/gio/gdbusaddress.h +++ b/gio/gdbusaddress.h @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: David Zeuthen */ @@ -31,24 +29,33 @@ G_BEGIN_DECLS +GLIB_AVAILABLE_IN_2_36 +gchar *g_dbus_address_escape_value (const gchar *string); + +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_address (const gchar *string); +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_supported_address (const gchar *string, GError **error); +GLIB_AVAILABLE_IN_ALL void g_dbus_address_get_stream (const gchar *address, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); +GLIB_AVAILABLE_IN_ALL GIOStream *g_dbus_address_get_stream_finish (GAsyncResult *res, gchar **out_guid, GError **error); +GLIB_AVAILABLE_IN_ALL GIOStream *g_dbus_address_get_stream_sync (const gchar *address, gchar **out_guid, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL gchar *g_dbus_address_get_for_bus_sync (GBusType bus_type, GCancellable *cancellable, GError **error);