diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 06:03:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 06:03:02 +0000 |
commit | 4897093455a2bf08f3db3a1132cc2f6f5484d77c (patch) | |
tree | 9e6373544263f003139431fb4b08f9766e1ed530 /support/include/tcpwrapper.h | |
parent | Initial commit. (diff) | |
download | nfs-utils-4897093455a2bf08f3db3a1132cc2f6f5484d77c.tar.xz nfs-utils-4897093455a2bf08f3db3a1132cc2f6f5484d77c.zip |
Adding upstream version 1:2.6.4.upstream/1%2.6.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'support/include/tcpwrapper.h')
-rw-r--r-- | support/include/tcpwrapper.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/support/include/tcpwrapper.h b/support/include/tcpwrapper.h new file mode 100644 index 0000000..f735106 --- /dev/null +++ b/support/include/tcpwrapper.h @@ -0,0 +1,12 @@ +#ifndef TCP_WRAPPER_H +#define TCP_WRAPPER_H + +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> + +extern int from_local(const struct sockaddr *sap); +extern int check_default(char *name, struct sockaddr *sap, + const unsigned long program); + +#endif /* TCP_WRAPPER_H */ |