mirror of /home/gitosis/repositories/libowfat.git
add prototype for dns_name6 (Rolf Eike Beer)
add FMT_IP4 and FMT_IP6 for consistencymaster
parent
93eb7241aa
commit
3613fa18ff
1
dns.h
1
dns.h
|
@ -91,5 +91,6 @@ int dns_ip6_qualify(stralloc *,stralloc *,const stralloc *);
|
|||
#define DNS_IP6_ARPA 1
|
||||
void dns_name6_domain(char *,const char *,int);
|
||||
#define DNS_NAME6_DOMAIN (4*16+11)
|
||||
int dns_name6(stralloc *,const char *);
|
||||
|
||||
#endif
|
||||
|
|
1
ip4.h
1
ip4.h
|
@ -9,6 +9,7 @@ unsigned int fmt_ip4(char *dest,const char *ip);
|
|||
#define ip4_fmt fmt_ip4
|
||||
|
||||
#define IP4_FMT 20
|
||||
#define FMT_IP4 20
|
||||
|
||||
extern const char ip4loopback[4]; /* = {127,0,0,1};*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue