1/* 2 * Copyright (c) 2007, 2008, 2010, ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10/* 11 * Derived from the The Open Group Base Specifications Issue 6, IEEE 12 * Std 1003.1, 2004 Edition. 13 * http://www.opengroup.org/onlinepubs/009695399/basedefs/nl_types.h.html 14 */ 15 16#ifndef _NL_TYPES_H_ 17#define _NL_TYPES_H_ 18 19#include <sys/cdefs.h> 20 21__BEGIN_DECLS 22 23#define NL_SETD 0 24#define NL_CAT_LOCALE 1 25 26typedef void *nl_catd; 27 28// TODO: Need nl_item 29 30nl_catd catopen(const char *, int); 31char *catgets(nl_catd, int, int, const char *); 32int catclose(nl_catd); 33 34__END_DECLS 35 36#endif 37