nl_types.h revision 103899
1103899Smike/*-
2103899Smike * Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
3103899Smike *
4103899Smike *                         All Rights Reserved
5103899Smike *
6103899Smike * Permission to use, copy, modify, and distribute this software and its
7103899Smike * documentation for any purpose and without fee is hereby granted,
8103899Smike * provided that the above copyright notice appear in all copies and that
9103899Smike * both that copyright notice and this permission notice appear in
10103899Smike * supporting documentation, and that Alfalfa's name not be used in
11103899Smike * advertising or publicity pertaining to distribution of the software
12103899Smike * without specific, written prior permission.
13103899Smike *
14103899Smike * ALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15103899Smike * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16103899Smike * ALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17103899Smike * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18103899Smike * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19103899Smike * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20103899Smike * SOFTWARE.
21103899Smike *
22103899Smike * If you make any modifications, bugfixes or other changes to this software
23103899Smike * we'd appreciate it if you could send a copy to us so we can keep things
24103899Smike * up-to-date.  Many thanks.
25103899Smike *				Kee Hinckley
26103899Smike *				Alfalfa Software, Inc.
27103899Smike *				267 Allston St., #3
28103899Smike *				Cambridge, MA 02139  USA
29103899Smike *				nazgul@alfalfa.com
30103899Smike *
31103899Smike * $FreeBSD: head/include/nl_types.h 103899 2002-09-24 17:28:12Z mike $
32103899Smike */
337495Sjkh
347495Sjkh#ifndef _NL_TYPES_H_
357495Sjkh#define _NL_TYPES_H_
36103899Smike
377495Sjkh#include <sys/cdefs.h>
38103899Smike#include <sys/_types.h>
397495Sjkh
4035545Sache#define	NL_SETD		0
4135545Sache#define	NL_CAT_LOCALE	1
427495Sjkh
43103899Smiketypedef	void	*nl_catd;
44103899Smike
45103521Smike#ifndef _NL_ITEM_DECLARED
46103521Smiketypedef	__nl_item	nl_item;
47103521Smike#define	_NL_ITEM_DECLARED
48103521Smike#endif
49103521Smike
5046673Sjkh__BEGIN_DECLS
51103899Smikenl_catd	 catopen(__const char *, int);
52103899Smikechar	*catgets(nl_catd, int, int, __const char *);
53103899Smikeint	 catclose(nl_catd);
5446673Sjkh__END_DECLS
557495Sjkh
56103899Smike#endif /* !_NL_TYPES_H_ */
57