X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgproxy.h;h=9a169c945be3c0ad4a1a07d0d3e69932d5a52136;hb=f14a66e3df9e5e3f0f170b68e976011c80ffc041;hp=4d2c483ba8a1badbb363c54bc846d2bc3d20d991;hpb=e1b99b2ddcf21f5dab26ad74afa6935eaf70028e;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gproxy.h b/gio/gproxy.h index 4d2c483..9a169c9 100644 --- a/gio/gproxy.h +++ b/gio/gproxy.h @@ -15,9 +15,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: Nicolas Dufresne */ @@ -42,7 +40,7 @@ G_BEGIN_DECLS * G_PROXY_EXTENSION_POINT_NAME: * * Extension point for proxy functionality. - * See Extending GIO. + * See [Extending GIO][extending-gio]. * * Since: 2.26 */ @@ -96,16 +94,20 @@ struct _GProxyInterface gboolean (* supports_hostname) (GProxy *proxy); }; +GLIB_AVAILABLE_IN_ALL GType g_proxy_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GProxy *g_proxy_get_default_for_protocol (const gchar *protocol); +GLIB_AVAILABLE_IN_ALL GIOStream *g_proxy_connect (GProxy *proxy, GIOStream *connection, GProxyAddress *proxy_address, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL void g_proxy_connect_async (GProxy *proxy, GIOStream *connection, GProxyAddress *proxy_address, @@ -113,10 +115,12 @@ void g_proxy_connect_async (GProxy *proxy, GAsyncReadyCallback callback, gpointer user_data); +GLIB_AVAILABLE_IN_ALL GIOStream *g_proxy_connect_finish (GProxy *proxy, GAsyncResult *result, GError **error); +GLIB_AVAILABLE_IN_ALL gboolean g_proxy_supports_hostname (GProxy *proxy); G_END_DECLS