Merge branch 'test-ip_mreq_source-android-only' into 'master'
[glib.git] / gio / giomodule-priv.h
blob68d46f25c9698471ed45235e1f0c2c0f46268a5c
1 /* GIO - GLib Input, Output and Streaming Library
2 *
3 * Copyright (C) 2006-2007 Red Hat, Inc.
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.
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.
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/>.
18 * Author: Alexander Larsson <alexl@redhat.com>
21 #ifndef __G_IO_MODULE_PRIV_H__
22 #define __G_IO_MODULE_PRIV_H__
24 #include "giomodule.h"
26 G_BEGIN_DECLS
28 void _g_io_modules_ensure_extension_points_registered (void);
29 void _g_io_modules_ensure_loaded (void);
31 typedef gboolean (*GIOModuleVerifyFunc) (gpointer);
32 gpointer _g_io_module_get_default (const gchar *extension_point,
33 const gchar *envvar,
34 GIOModuleVerifyFunc verify_func);
36 GType _g_io_module_get_default_type (const gchar *extension_point,
37 const gchar *envvar,
38 guint is_supported_offset);
40 #ifdef G_PLATFORM_WIN32
41 void *_g_io_win32_get_module (void);
42 #endif
44 gchar *_g_io_module_extract_name (const char *filename);
47 G_END_DECLS
49 #endif /* __G_IO_MODULE_PRIV_H__ */