diff options
Diffstat (limited to 'usr.sbin/bootpd/lookup.h')
-rw-r--r-- | usr.sbin/bootpd/lookup.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/usr.sbin/bootpd/lookup.h b/usr.sbin/bootpd/lookup.h new file mode 100644 index 000000000000..04805d8915c6 --- /dev/null +++ b/usr.sbin/bootpd/lookup.h @@ -0,0 +1,15 @@ +/* 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 |