diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-02-04 19:23:42 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-02-04 19:23:42 +0000 |
| commit | b3ea8abeca50df2e24167770d1e7484f1f877a7d (patch) | |
| tree | f52b0378ac88b8ff9690c4e21a65813ff1177ed1 /libexec/bootpd/lookup.h | |
| parent | 9164545f1ea589d7d2f682fd09efd4fa85fd3480 (diff) | |
Notes
Diffstat (limited to 'libexec/bootpd/lookup.h')
| -rw-r--r-- | libexec/bootpd/lookup.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libexec/bootpd/lookup.h b/libexec/bootpd/lookup.h new file mode 100644 index 000000000000..04805d8915c6 --- /dev/null +++ b/libexec/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 |
