aboutsummaryrefslogtreecommitdiff
path: root/src/lib/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/init.h')
-rw-r--r--src/lib/init.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/init.h b/src/lib/init.h
new file mode 100644
index 00000000..25243c17
--- /dev/null
+++ b/src/lib/init.h
@@ -0,0 +1,29 @@
1
2
3#ifndef INIT_H
4#define INIT_H
5
6/**
7 * Globally initialise library.
8 */
9void
10MHD_init(void);
11
12
13#ifdef _AUTOINIT_FUNCS_ARE_SUPPORTED
14/**
15 * Do nothing - global initialisation is
16 * performed by library constructor.
17 */
18#define MHD_check_global_init_() (void)0
19#else /* ! _AUTOINIT_FUNCS_ARE_SUPPORTED */
20/**
21 * Check whether global initialisation was performed
22 * and call initialiser if necessary.
23 */
24void
25MHD_check_global_init_ (void);
26#endif /* ! _AUTOINIT_FUNCS_ARE_SUPPORTED */
27
28
29#endif /* INIT_H */