1 /* 2 * Routines for controlled update/initialization of request structures. 3 * 4 * request_init() initializes its argument. Pointers and string-valued members 5 * are initialized to zero, to indicate that no lookup has been attempted. 6 * 7 * request_set() adds information to an already initialized request structure. 8 * 9 * Both functions take a variable-length name-value list. 10 * 11 * Diagnostics are reported through syslog(3). 12 * 13 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 14 *
| 1 /* 2 * Routines for controlled update/initialization of request structures. 3 * 4 * request_init() initializes its argument. Pointers and string-valued members 5 * are initialized to zero, to indicate that no lookup has been attempted. 6 * 7 * request_set() adds information to an already initialized request structure. 8 * 9 * Both functions take a variable-length name-value list. 10 * 11 * Diagnostics are reported through syslog(3). 12 * 13 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. 14 *
|
15 * $FreeBSD: head/contrib/tcp_wrappers/update.c 56977 2000-02-03 10:27:03Z shin $
| 15 * $FreeBSD: head/contrib/tcp_wrappers/update.c 257398 2013-10-30 21:18:14Z sbruno $
|
16 */ 17 18#ifndef lint 19static char sccsid[] = "@(#) update.c 1.1 94/12/28 17:42:56"; 20#endif 21 22/* System libraries */ 23 24#include <stdio.h> 25#include <syslog.h> 26#include <string.h>
| 16 */ 17 18#ifndef lint 19static char sccsid[] = "@(#) update.c 1.1 94/12/28 17:42:56"; 20#endif 21 22/* System libraries */ 23 24#include <stdio.h> 25#include <syslog.h> 26#include <string.h>
|
| 27#include <unistd.h>
|
27 28/* Local stuff. */ 29 30#include "mystdarg.h" 31#include "tcpd.h" 32 33/* request_fill - request update engine */ 34
--- 95 unchanged lines hidden --- | 28 29/* Local stuff. */ 30 31#include "mystdarg.h" 32#include "tcpd.h" 33 34/* request_fill - request update engine */ 35
--- 95 unchanged lines hidden --- |