summaryrefslogtreecommitdiff
path: root/usr.sbin/bootpd/lookup.h
blob: 04805d8915c65957e88c441aa5ed73ca0a23bd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* lookup.h */

#include "bptypes.h"	/* for int32, u_int32 */

#ifdef	__STDC__
#define P(args) args
#else
#define P(args) ()
#endif

extern u_char *lookup_hwa P((char *hostname, int htype));
extern int lookup_ipa P((char *hostname, u_int32 *addr));
extern int lookup_netmask P((u_int32 addr, u_int32 *mask));

#undef P