diff options
author | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
---|---|---|
committer | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
commit | 0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch) | |
tree | 225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/dns.h | |
parent | 69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff) |
clean up struct typedefs
Diffstat (limited to 'src/dns.h')
-rw-r--r-- | src/dns.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,12 +20,12 @@ void a_Dns_resolve(const char *hostname, DnsCallback_t cb_func, void *cb_data); # define DILLO_ADDR_MAX sizeof(struct in_addr) #endif -typedef struct _DilloHost -{ +typedef struct { int af; int alen; char data[DILLO_ADDR_MAX]; } DilloHost; + void a_Dns_dillohost_to_string(DilloHost *host, char *dst, size_t size); #ifdef __cplusplus |