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