Merge branch 'strlcpy' into 'master'
[glib.git] / glib / glib-init.h
blob5da33c052c2fa76dc2c331f73399957da37418a3
1 /*
2 * Copyright © 2011 Canonical Limited
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
17 * Author: Ryan Lortie <desrt@desrt.ca>
20 #ifndef __GLIB_INIT_H__
21 #define __GLIB_INIT_H__
23 #include "gmessages.h"
25 extern GLogLevelFlags g_log_always_fatal;
26 extern GLogLevelFlags g_log_msg_prefix;
28 void glib_init (void);
29 void g_quark_init (void);
31 #ifdef G_OS_WIN32
32 #include <windows.h>
34 void g_thread_win32_process_detach (void);
35 void g_thread_win32_thread_detach (void);
36 void g_thread_win32_init (void);
37 void g_clock_win32_init (void);
38 extern HMODULE glib_dll;
39 #endif
41 #endif /* __GLIB_INIT_H__ */