File: haccess.h

package info (click to toggle)
netstd 3.07-2hamm.5
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 6,384 kB
  • ctags: 9,087
  • sloc: ansic: 72,547; cpp: 6,141; makefile: 1,681; yacc: 1,615; sh: 1,220; perl: 303; awk: 46
file content (18 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * haccess.h
 *
 * Wrapper for tcp_wrapper library
 */

#ifndef HACCESS_H
#define HACCESS_H

#ifdef HOSTS_ACCESS
extern int 	  client_checkaccess(char *, struct sockaddr_in *, int);
extern void	  client_flushaccess(void);
#else
#define client_checkaccess(a, b, c)	1
#define client_flushaccess()		do { } while (0)
#endif

#endif /* HACCESS_H */