Home | History | Annotate | Line # | Download | only in common
lookup.h revision 1.2
      1 /*	$NetBSD: lookup.h,v 1.2 1998/01/09 08:09:13 perry Exp $	*/
      2 
      3 /* lookup.h */
      4 
      5 #include "bptypes.h"	/* for int32, u_int32 */
      6 
      7 #ifdef	__STDC__
      8 #define P(args) args
      9 #else
     10 #define P(args) ()
     11 #endif
     12 
     13 extern u_char *lookup_hwa P((char *hostname, int htype));
     14 extern int lookup_ipa P((char *hostname, u_int32 *addr));
     15 extern int lookup_netmask P((u_int32 addr, u_int32 *mask));
     16 
     17 #undef P
     18