xref: /haiku/headers/posix/nl_types.h (revision e221c09e508ffc3c62738140c9b6fc4fa211662a)
1 #ifndef _NL_TYPES_H_
2 #define _NL_TYPES_H_
3 /*
4 ** Distributed under the terms of the OpenBeOS License.
5 */
6 
7 
8 #define	NL_SETD			0
9 #define	NL_CAT_LOCALE	1
10 
11 typedef	int nl_item;
12 typedef	void *nl_catd;
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 extern nl_catd catopen(const char *name, int oflag);
19 extern char *catgets(nl_catd cat, int setID, int msgID, const char *defaultMessage);
20 extern int catclose(nl_catd cat);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26 #endif	/* _NL_TYPES_H_ */
27