xref: /freebsd/libexec/bootpd/lookup.h (revision 4cf49a43559ed9fdad601bdcccd2c55963008675)
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