Deleted Added
full compact
nl_types.h (93032) nl_types.h (103521)
1/* $FreeBSD: head/include/nl_types.h 93032 2002-03-23 17:24:55Z imp $ */
1/* $FreeBSD: head/include/nl_types.h 103521 2002-09-18 05:51:23Z mike $ */
2
3/***********************************************************
4Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that Alfalfa's name not be used in
13advertising or publicity pertaining to distribution of the software
14without specific, written prior permission.
15
16ALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
17ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
18ALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
19ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
22SOFTWARE.
23
24If you make any modifications, bugfixes or other changes to this software
25we'd appreciate it if you could send a copy to us so we can keep things
26up-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>
38
39#define NL_SETD 0
40#define NL_CAT_LOCALE 1
41
2
3/***********************************************************
4Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that Alfalfa's name not be used in
13advertising or publicity pertaining to distribution of the software
14without specific, written prior permission.
15
16ALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
17ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
18ALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
19ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
22SOFTWARE.
23
24If you make any modifications, bugfixes or other changes to this software
25we'd appreciate it if you could send a copy to us so we can keep things
26up-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>
38
39#define NL_SETD 0
40#define NL_CAT_LOCALE 1
41
42typedef int nl_item;
42#ifndef _NL_ITEM_DECLARED
43typedef __nl_item nl_item;
44#define _NL_ITEM_DECLARED
45#endif
46
43typedef void *nl_catd;
44
45__BEGIN_DECLS
46extern nl_catd catopen(__const char *, int);
47extern char *catgets(nl_catd, int, int, __const char *);
48extern int catclose(nl_catd);
49__END_DECLS
50
51#endif /* _NL_TYPES_H_ */
47typedef void *nl_catd;
48
49__BEGIN_DECLS
50extern nl_catd catopen(__const char *, int);
51extern char *catgets(nl_catd, int, int, __const char *);
52extern int catclose(nl_catd);
53__END_DECLS
54
55#endif /* _NL_TYPES_H_ */