1 /* $NetBSD: loc.h,v 1.4 2014/12/10 04:37:56 christos Exp $ */
3 /* Id: loc.h,v 1.1 2008/02/15 01:47:15 marka Exp */
5 #define VERSION "0.4.0"
9 /* Probably too many inclusions but this is to keep 'gcc -Wall' happy... */
12 #include <sys/types.h>
14 #include <sys/socket.h>
15 #include <netinet/in.h>
16 #include <arpa/inet.h>
22 #include <arpa/nameser.h>
33 #define u_int32_t unsigned long
38 #define u_int32_t unsigned int
45 #define u_int8_t unsigned char
51 #define u_int8_t unsigned short
56 #error "No suitable native type for storing bytes"
61 #define INADDR_NONE (in_addr_t)-1
73 char *getlocbyname ();
74 char *getlocbyaddr ();
77 struct list_in_addr
*findA ();
79 extern char *progname
;