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