options.c (71045) | options.c (257398) |
---|---|
1 /* 2 * General skeleton for adding options to the access control language. The 3 * features offered by this module are documented in the hosts_options(5) 4 * manual page (source file: hosts_options.5, "nroff -man" format). 5 * 6 * Notes and warnings for those who want to add features: 7 * 8 * In case of errors, abort options processing and deny access. There are too --- 13 unchanged lines hidden (view full) --- 22 * "dry_run" flag is set. In this mode, an option function should just "say" 23 * what it is going to do instead of really doing it. 24 * 25 * Some option functions do not return (for example, the twist option passes 26 * control to another program). In verification mode (dry_run flag is set) 27 * such options should clear the "dry_run" flag to inform the caller of this 28 * course of action. 29 * | 1 /* 2 * General skeleton for adding options to the access control language. The 3 * features offered by this module are documented in the hosts_options(5) 4 * manual page (source file: hosts_options.5, "nroff -man" format). 5 * 6 * Notes and warnings for those who want to add features: 7 * 8 * In case of errors, abort options processing and deny access. There are too --- 13 unchanged lines hidden (view full) --- 22 * "dry_run" flag is set. In this mode, an option function should just "say" 23 * what it is going to do instead of really doing it. 24 * 25 * Some option functions do not return (for example, the twist option passes 26 * control to another program). In verification mode (dry_run flag is set) 27 * such options should clear the "dry_run" flag to inform the caller of this 28 * course of action. 29 * |
30 * $FreeBSD: head/contrib/tcp_wrappers/options.c 71045 2001-01-14 23:00:59Z dwmalone $ | 30 * $FreeBSD: head/contrib/tcp_wrappers/options.c 257398 2013-10-30 21:18:14Z sbruno $ |
31 */ 32 33#ifndef lint 34static char sccsid[] = "@(#) options.c 1.17 96/02/11 17:01:31"; 35#endif 36 37/* System libraries. */ 38 --- 6 unchanged lines hidden (view full) --- 45#include <stdio.h> 46#define SYSLOG_NAMES 47#include <syslog.h> 48#include <pwd.h> 49#include <grp.h> 50#include <ctype.h> 51#include <setjmp.h> 52#include <string.h> | 31 */ 32 33#ifndef lint 34static char sccsid[] = "@(#) options.c 1.17 96/02/11 17:01:31"; 35#endif 36 37/* System libraries. */ 38 --- 6 unchanged lines hidden (view full) --- 45#include <stdio.h> 46#define SYSLOG_NAMES 47#include <syslog.h> 48#include <pwd.h> 49#include <grp.h> 50#include <ctype.h> 51#include <setjmp.h> 52#include <string.h> |
53#include <unistd.h> 54#include <stdlib.h> |
|
53 54#ifndef MAXPATHNAMELEN 55#define MAXPATHNAMELEN BUFSIZ 56#endif 57 58/* Local stuff. */ 59 60#include "tcpd.h" --- 471 unchanged lines hidden --- | 55 56#ifndef MAXPATHNAMELEN 57#define MAXPATHNAMELEN BUFSIZ 58#endif 59 60/* Local stuff. */ 61 62#include "tcpd.h" --- 471 unchanged lines hidden --- |