lookup.h revision 3229
13229Spst/* lookup.h */ 23229Spst 33229Spst#include "bptypes.h" /* for int32, u_int32 */ 43229Spst 53229Spst#ifdef __STDC__ 63229Spst#define P(args) args 73229Spst#else 83229Spst#define P(args) () 93229Spst#endif 103229Spst 113229Spstextern u_char *lookup_hwa P((char *hostname, int htype)); 123229Spstextern int lookup_ipa P((char *hostname, u_int32 *addr)); 133229Spstextern int lookup_netmask P((u_int32 addr, u_int32 *mask)); 143229Spst 153229Spst#undef P 16