nl_types.h revision 103521
150473Speter/* $FreeBSD: head/include/nl_types.h 103521 2002-09-18 05:51:23Z mike $ */ 27495Sjkh 37495Sjkh/*********************************************************** 47495SjkhCopyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts. 57495Sjkh 67495Sjkh All Rights Reserved 77495Sjkh 87495SjkhPermission to use, copy, modify, and distribute this software and its 97495Sjkhdocumentation for any purpose and without fee is hereby granted, 107495Sjkhprovided that the above copyright notice appear in all copies and that 117495Sjkhboth that copyright notice and this permission notice appear in 127495Sjkhsupporting documentation, and that Alfalfa's name not be used in 137495Sjkhadvertising or publicity pertaining to distribution of the software 147495Sjkhwithout specific, written prior permission. 157495Sjkh 167495SjkhALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 177495SjkhALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 187495SjkhALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 197495SjkhANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 207495SjkhWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 217495SjkhARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 227495SjkhSOFTWARE. 237495Sjkh 247495SjkhIf you make any modifications, bugfixes or other changes to this software 257495Sjkhwe'd appreciate it if you could send a copy to us so we can keep things 267495Sjkhup-to-date. Many thanks. 277495Sjkh Kee Hinckley 287495Sjkh Alfalfa Software, Inc. 297495Sjkh 267 Allston St., #3 307495Sjkh Cambridge, MA 02139 USA 317495Sjkh nazgul@alfalfa.com 328858Srgrimes 337495Sjkh******************************************************************/ 347495Sjkh 357495Sjkh#ifndef _NL_TYPES_H_ 367495Sjkh#define _NL_TYPES_H_ 377495Sjkh#include <sys/cdefs.h> 387495Sjkh 3935545Sache#define NL_SETD 0 4035545Sache#define NL_CAT_LOCALE 1 417495Sjkh 42103521Smike#ifndef _NL_ITEM_DECLARED 43103521Smiketypedef __nl_item nl_item; 44103521Smike#define _NL_ITEM_DECLARED 45103521Smike#endif 46103521Smike 4735545Sachetypedef void *nl_catd; 487495Sjkh 4946673Sjkh__BEGIN_DECLS 5093032Simpextern nl_catd catopen(__const char *, int); 5193032Simpextern char *catgets(nl_catd, int, int, __const char *); 5293032Simpextern int catclose(nl_catd); 5346673Sjkh__END_DECLS 547495Sjkh 557495Sjkh#endif /* _NL_TYPES_H_ */ 56