add prototype for dns_name6 (Rolf Eike Beer)
add FMT_IP4 and FMT_IP6 for consistency
This commit is contained in:
parent
c3c46494a6
commit
3fc96fdc7f
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…
x
Reference in New Issue
Block a user