summaryrefslogtreecommitdiffstats
path: root/support/include/tcpwrapper.h
blob: 98cf80686bc2a9d720d43bedd5946c517e2e7ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */