xref: /freebsd/libexec/bootpd/lookup.h (revision 44099b7b1ec9c9295687eba077be6ad2931d292d)
1 /* lookup.h */
2 
3 #include "bptypes.h"	/* for int32, u_int32 */
4 
5 #ifdef	__STDC__
6 #define P(args) args
7 #else
8 #define P(args) ()
9 #endif
10 
11 extern u_char *lookup_hwa P((char *hostname, int htype));
12 extern int lookup_ipa P((char *hostname, u_int32 *addr));
13 extern int lookup_netmask P((u_int32 addr, u_int32 *mask));
14 
15 #undef P
16