summaryrefslogtreecommitdiffstats
path: root/contrib/tcp_wrappers/inetcf.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-03-14 17:13:19 +0000
committermarkm <markm@FreeBSD.org>1999-03-14 17:13:19 +0000
commit06c148304a969b7ab848c2ae00bc474c2f6b87b6 (patch)
tree5c4b2dfe1ca36eeb731956db3380eef1053a2d03 /contrib/tcp_wrappers/inetcf.h
downloadFreeBSD-src-06c148304a969b7ab848c2ae00bc474c2f6b87b6.zip
FreeBSD-src-06c148304a969b7ab848c2ae00bc474c2f6b87b6.tar.gz
Clean import of TCP-wrappers by Wietse Venema.
Rest of build to follow.
Diffstat (limited to 'contrib/tcp_wrappers/inetcf.h')
-rw-r--r--contrib/tcp_wrappers/inetcf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/tcp_wrappers/inetcf.h b/contrib/tcp_wrappers/inetcf.h
new file mode 100644
index 0000000..0f1d77c
--- /dev/null
+++ b/contrib/tcp_wrappers/inetcf.h
@@ -0,0 +1,14 @@
+ /*
+ * @(#) inetcf.h 1.1 94/12/28 17:42:30
+ *
+ * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
+ */
+
+extern char *inet_cfg(); /* read inetd.conf file */
+extern void inet_set(); /* remember internet service */
+extern int inet_get(); /* look up internet service */
+
+#define WR_UNKNOWN (-1) /* service unknown */
+#define WR_NOT 1 /* may not be wrapped */
+#define WR_MAYBE 2 /* may be wrapped */
+#define WR_YES 3 /* service is wrapped */
OpenPOWER on IntegriCloud