Fix up LGPL header comments
[platform/upstream/glib-networking.git] / tls / gnutls / gnutls-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 <gio/gio.h>
23
24 #include "gtlsbackend-gnutls.h"
25
26
27 void
28 g_io_module_load (GIOModule *module)
29 {
30   g_tls_backend_gnutls_register (module);
31 }
32
33 void
34 g_io_module_unload (GIOModule *module)
35 {
36 }
37
38 gchar **
39 g_io_module_query (void)
40 {
41   gchar *eps[] = {
42     G_TLS_BACKEND_EXTENSION_POINT_NAME,
43     NULL
44   };
45   return g_strdupv (eps);
46 }