1 | /* GIO - GLib Input, Output and Streaming Library |
2 | * |
3 | * Copyright (C) 2006-2007 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.1 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 <http://www.gnu.org/licenses/>. |
17 | * |
18 | * Author: Alexander Larsson <alexl@redhat.com> |
19 | */ |
20 | |
21 | #ifndef __G_IO_MODULE_PRIV_H__ |
22 | #define __G_IO_MODULE_PRIV_H__ |
23 | |
24 | #include "giomodule.h" |
25 | |
26 | G_BEGIN_DECLS |
27 | |
28 | void _g_io_modules_ensure_extension_points_registered (void); |
29 | void _g_io_modules_ensure_loaded (void); |
30 | |
31 | typedef gboolean (*GIOModuleVerifyFunc) (gpointer); |
32 | gpointer _g_io_module_get_default (const gchar *extension_point, |
33 | const gchar *envvar, |
34 | GIOModuleVerifyFunc verify_func); |
35 | |
36 | GType _g_io_module_get_default_type (const gchar *extension_point, |
37 | const gchar *envvar, |
38 | guint is_supported_offset); |
39 | |
40 | #ifdef G_PLATFORM_WIN32 |
41 | void *_g_io_win32_get_module (void); |
42 | #endif |
43 | |
44 | gchar * (const char *filename); |
45 | |
46 | |
47 | G_END_DECLS |
48 | |
49 | #endif /* __G_IO_MODULE_PRIV_H__ */ |
50 | |