dumptab.c (5ed136e814a98e845927fffa6aa7c497dbd8fa5e) | dumptab.c (f19d047aec2b1d05cfb00498caff5141094d1124) |
---|---|
1/* 2 * dumptab.c - handles dumping the database 3 * 4 * $FreeBSD$ 5 */ 6 7#include <sys/types.h> 8#include <netinet/in.h> --- 14 unchanged lines hidden (view full) --- 23 24#include "bootp.h" 25#include "hash.h" 26#include "hwaddr.h" 27#include "report.h" 28#include "patchlevel.h" 29#include "bootpd.h" 30 | 1/* 2 * dumptab.c - handles dumping the database 3 * 4 * $FreeBSD$ 5 */ 6 7#include <sys/types.h> 8#include <netinet/in.h> --- 14 unchanged lines hidden (view full) --- 23 24#include "bootp.h" 25#include "hash.h" 26#include "hwaddr.h" 27#include "report.h" 28#include "patchlevel.h" 29#include "bootpd.h" 30 |
31#define P(args) args 32 | |
33#ifdef DEBUG | 31#ifdef DEBUG |
34static void dump_generic P((FILE *, struct shared_bindata *)); 35static void dump_host P((FILE *, struct host *)); 36static void list_ipaddresses P((FILE *, struct in_addr_list *)); | 32static void dump_generic(FILE *, struct shared_bindata *); 33static void dump_host(FILE *, struct host *); 34static void list_ipaddresses(FILE *, struct in_addr_list *); |
37#endif 38 | 35#endif 36 |
39#undef P 40 | |
41#ifndef DEBUG 42void 43dumptab(filename) 44 char *filename; 45{ 46 report(LOG_INFO, "No dumptab support!"); 47} 48 --- 334 unchanged lines hidden --- | 37#ifndef DEBUG 38void 39dumptab(filename) 40 char *filename; 41{ 42 report(LOG_INFO, "No dumptab support!"); 43} 44 --- 334 unchanged lines hidden --- |