1 /* 2 * Copyright 2010-2012 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _NL_TYPES_H_ 6 #define _NL_TYPES_H_ 7 8 9 #include <sys/cdefs.h> 10 11 12 #define NL_SETD 0 13 #define NL_CAT_LOCALE 1 14 15 typedef int nl_item; 16 typedef void* nl_catd; 17 18 __BEGIN_DECLS 19 20 extern nl_catd catopen(const char *name, int oflag); 21 extern char* catgets(nl_catd cat, int setID, int msgID, 22 const char *defaultMessage); 23 extern int catclose(nl_catd cat); 24 25 __END_DECLS 26 27 28 #endif /* _NL_TYPES_H_ */ 29