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 15typedef int nl_item; 16typedef void* nl_catd; 17 18__BEGIN_DECLS 19 20extern nl_catd catopen(const char *name, int oflag); 21extern char* catgets(nl_catd cat, int setID, int msgID, 22 const char *defaultMessage); 23extern int catclose(nl_catd cat); 24 25__END_DECLS 26 27 28#endif /* _NL_TYPES_H_ */ 29