freebsd-nq/contrib/tcp_wrappers/inetcf.h
Brooks Davis 068ad27de3 Use ANSI C function definitions and declerations.
Obtained from:	CheriBSD
MFC after:	1 week
Sponsored by:	DARPA, AFRL
2019-07-17 23:09:40 +00:00

15 lines
516 B
C

/*
* @(#) inetcf.h 1.1 94/12/28 17:42:30
*
* Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
*/
extern char *inet_cfg(char *conf); /* read inetd.conf file */
extern void inet_set(char *name, int type); /* remember internet service */
extern int inet_get(char *name); /* 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 */