]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/nl_types.h
This commit was generated by cvs2svn to compensate for changes in r133492,
[FreeBSD/FreeBSD.git] / include / nl_types.h
1 /*-
2  * Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
3  *
4  *                         All Rights Reserved
5  *
6  * Permission to use, copy, modify, and distribute this software and its
7  * documentation for any purpose and without fee is hereby granted,
8  * provided that the above copyright notice appear in all copies and that
9  * both that copyright notice and this permission notice appear in
10  * supporting documentation, and that Alfalfa's name not be used in
11  * advertising or publicity pertaining to distribution of the software
12  * without specific, written prior permission.
13  *
14  * ALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16  * ALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20  * SOFTWARE.
21  *
22  * If you make any modifications, bugfixes or other changes to this software
23  * we'd appreciate it if you could send a copy to us so we can keep things
24  * up-to-date.  Many thanks.
25  *                              Kee Hinckley
26  *                              Alfalfa Software, Inc.
27  *                              267 Allston St., #3
28  *                              Cambridge, MA 02139  USA
29  *                              nazgul@alfalfa.com
30  *
31  * $FreeBSD$
32  */
33
34 #ifndef _NL_TYPES_H_
35 #define _NL_TYPES_H_
36
37 #include <sys/cdefs.h>
38 #include <sys/_types.h>
39
40 #define NL_SETD         0
41 #define NL_CAT_LOCALE   1
42
43 typedef void    *nl_catd;
44
45 #ifndef _NL_ITEM_DECLARED
46 typedef __nl_item       nl_item;
47 #define _NL_ITEM_DECLARED
48 #endif
49
50 __BEGIN_DECLS
51 nl_catd  catopen(__const char *, int);
52 char    *catgets(nl_catd, int, int, __const char *);
53 int      catclose(nl_catd);
54 __END_DECLS
55
56 #endif /* !_NL_TYPES_H_ */