summaryrefslogtreecommitdiffstats
path: root/include/nl_types.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-03-30 12:47:56 +0000
committerjkh <jkh@FreeBSD.org>1995-03-30 12:47:56 +0000
commit88e73c918c0e35f0e91f9d4faf2d5fc296c56499 (patch)
treeb605b1c71e2f4d8c016e4bf36978cf1f79e63b47 /include/nl_types.h
parent02ba73f73710bbda1154f765b78642d80c7192b8 (diff)
downloadFreeBSD-src-88e73c918c0e35f0e91f9d4faf2d5fc296c56499.zip
FreeBSD-src-88e73c918c0e35f0e91f9d4faf2d5fc296c56499.tar.gz
Add a necessary include file for the catgets* routines.
Obtained from: NetBSD
Diffstat (limited to 'include/nl_types.h')
-rw-r--r--include/nl_types.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/include/nl_types.h b/include/nl_types.h
new file mode 100644
index 0000000..accd718
--- /dev/null
+++ b/include/nl_types.h
@@ -0,0 +1,48 @@
+/* $Id$ */
+
+/***********************************************************
+Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
+
+ All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that Alfalfa's name not be used in
+advertising or publicity pertaining to distribution of the software
+without specific, written prior permission.
+
+ALPHALPHA DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
+ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
+ALPHALPHA BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
+ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
+WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
+
+If you make any modifications, bugfixes or other changes to this software
+we'd appreciate it if you could send a copy to us so we can keep things
+up-to-date. Many thanks.
+ Kee Hinckley
+ Alfalfa Software, Inc.
+ 267 Allston St., #3
+ Cambridge, MA 02139 USA
+ nazgul@alfalfa.com
+
+******************************************************************/
+
+#ifndef _NL_TYPES_H_
+#define _NL_TYPES_H_
+#include <sys/cdefs.h>
+
+#define NL_SETD 0
+
+typedef long nl_catd;
+typedef long nl_item;
+
+extern nl_catd catopen __P((__const char *, int));
+extern char *catgets __P((nl_catd, int, int, char *));
+extern int catclose __P((nl_catd));
+
+#endif /* _NL_TYPES_H_ */
OpenPOWER on IntegriCloud