File: lookup.h

package info (click to toggle)
bootp 2.4.3-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 472 kB
  • ctags: 611
  • sloc: ansic: 5,919; makefile: 153; sh: 53
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