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