summaryrefslogtreecommitdiffstats
path: root/support/include/tcpwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/include/tcpwrapper.h')
-rw-r--r--support/include/tcpwrapper.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/support/include/tcpwrapper.h b/support/include/tcpwrapper.h
new file mode 100644
index 0000000..98cf806
--- /dev/null
+++ b/support/include/tcpwrapper.h
@@ -0,0 +1,18 @@
+#ifndef TCP_WRAPPER_H
+#define TCP_WRAPPER_H
+
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
+extern int verboselog;
+
+extern int allow_severity;
+extern int deny_severity;
+
+extern int good_client(char *daemon, struct sockaddr_in *addr);
+extern int from_local (struct sockaddr_in *addr);
+extern int check_default(char *daemon, struct sockaddr_in *addr,
+ u_long proc, u_long prog);
+
+#endif /* TCP_WRAPPER_H */