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