lookup.h revision 3229
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
11extern u_char *lookup_hwa P((char *hostname, int htype));
12extern int lookup_ipa P((char *hostname, u_int32 *addr));
13extern int lookup_netmask P((u_int32 addr, u_int32 *mask));
14
15#undef P
16