Imported Upstream version 2.34.0
[platform/upstream/glib-networking.git] / proxy / gnome / gnome-proxy-module.c
1 /* GIO - GLib Input, Output and Streaming Library
2  *
3  * Copyright 2010 Red Hat, Inc.
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General
16  * Public License along with this library; if not, see
17  * <http://www.gnu.org/licenses/>.
18  */
19
20 #include "config.h"
21
22 #include "gproxyresolvergnome.h"
23
24
25 void
26 g_io_module_load (GIOModule *module)
27 {
28   g_proxy_resolver_gnome_register (module);
29 }
30
31 void
32 g_io_module_unload (GIOModule *module)
33 {
34 }
35
36 gchar **
37 g_io_module_query (void)
38 {
39   gchar *eps[] = {
40     G_PROXY_RESOLVER_EXTENSION_POINT_NAME,
41     NULL
42   };
43   return g_strdupv (eps);
44 }