aboutsummaryrefslogtreecommitdiff
path: root/src/lib/init.h
blob: 25243c177daf7235ef1200696b053d23f5f8e382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef INIT_H
#define INIT_H

/**
 * Globally initialise library.
 */
void
MHD_init(void);


#ifdef _AUTOINIT_FUNCS_ARE_SUPPORTED
/**
 * Do nothing - global initialisation is
 * performed by library constructor.
 */
#define MHD_check_global_init_() (void)0
#else  /* ! _AUTOINIT_FUNCS_ARE_SUPPORTED */
/**
 * Check whether global initialisation was performed
 * and call initialiser if necessary.
 */
void
MHD_check_global_init_ (void);
#endif /* ! _AUTOINIT_FUNCS_ARE_SUPPORTED */


#endif  /* INIT_H */