refactor headers, especially alltypes.h, and improve C++ ABI compat
[musl] / include / nl_types.h
1 #ifndef _NL_TYPES_H
2 #define _NL_TYPES_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define NL_SETD 1
9 #define NL_CAT_LOCALE 1
10
11 typedef int nl_item;
12 typedef void *nl_catd;
13
14 nl_catd catopen (const char *, int);
15 char *catgets (nl_catd, int, int, const char *);
16 int catclose (nl_catd);
17
18 #ifdef __cplusplus
19 }
20 #endif
21
22 #endif