mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 07:59:23 +00:00
16 lines
319 B
C
16 lines
319 B
C
/* lookup.h */
|
|
|
|
#include "bptypes.h" /* for int32, u_int32 */
|
|
|
|
#ifdef __STDC__
|
|
#define P(args) args
|
|
#else
|
|
#define P(args) ()
|
|
#endif
|
|
|
|
extern u_char *lookup_hwa P((char *hostname, int htype));
|
|
extern int lookup_ipa P((char *hostname, u_int32 *addr));
|
|
extern int lookup_netmask P((u_int32 addr, u_int32 *mask));
|
|
|
|
#undef P
|