diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2010-08-10 15:24:37 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2010-08-19 16:32:37 -0400 |
commit | d76de5e3591431c03a5812acd7682f2ff68fba69 (patch) | |
tree | aefcf7030fce22ae4fb8a7fcda6e89008a35274c /gio/giomodule.c | |
parent | 63105d1074ce54fdda9c81bb0353abc9b0a24d62 (diff) | |
download | glib-d76de5e3591431c03a5812acd7682f2ff68fba69.tar.gz glib-d76de5e3591431c03a5812acd7682f2ff68fba69.tar.bz2 glib-d76de5e3591431c03a5812acd7682f2ff68fba69.zip |
Added GProxy interface for proxy extension point
Implement an extension point for proxy protocol implementation. This
is mainly useful for socket-based proxy where it is possible to use the
proxied socket the same way it would for other stream based socket.
Reviewed-by: Dan Winship <danw@gnome.org>
Diffstat (limited to 'gio/giomodule.c')
-rw-r--r-- | gio/giomodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/giomodule.c b/gio/giomodule.c index 2c9c6e01d..ee5c3f004 100644 --- a/gio/giomodule.c +++ b/gio/giomodule.c @@ -31,6 +31,7 @@ #include "glocaldirectorymonitor.h" #include "gnativevolumemonitor.h" #include "gproxyresolver.h" +#include "gproxy.h" #include "gvfs.h" #ifdef G_OS_UNIX #include "gdesktopappinfo.h" @@ -540,6 +541,9 @@ _g_io_modules_ensure_extension_points_registered (void) ep = g_io_extension_point_register (G_PROXY_RESOLVER_EXTENSION_POINT_NAME); g_io_extension_point_set_required_type (ep, G_TYPE_PROXY_RESOLVER); + + ep = g_io_extension_point_register (G_PROXY_EXTENSION_POINT_NAME); + g_io_extension_point_set_required_type (ep, G_TYPE_PROXY); } G_UNLOCK (registered_extensions); |