diff options
-rw-r--r-- | src/nl_types_cygnus.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/nl_types_cygnus.h b/src/nl_types_cygnus.h new file mode 100644 index 0000000..b467cc4 --- /dev/null +++ b/src/nl_types_cygnus.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef _NL_TYPES_EMUL_H | ||
2 | #define _NL_TYPES_EMUL_H | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* Data types */ | ||
9 | |||
10 | typedef int nl_catd; | ||
11 | |||
12 | /* Functions */ | ||
13 | |||
14 | char *catgets(nl_catd cat, int set_number, int message_number, char *message); | ||
15 | |||
16 | nl_catd catopen(char *name, int flag); | ||
17 | |||
18 | void catclose (nl_catd cat); | ||
19 | |||
20 | #ifdef __cplusplus | ||
21 | } | ||
22 | #endif | ||
23 | |||
24 | #endif /* _NL_TYPES_EMUL_H */ | ||