File: lookup.h

package info (click to toggle)
bootp 2.4.3-21.2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 924 kB
  • sloc: ansic: 11,453; makefile: 379; sh: 55
file content (15 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* lookup.h */

#include <sys/types.h>

#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_t *addr));
extern int lookup_netmask P((u_int32_t addr, u_int32_t *mask));

#undef P