diff options
Diffstat (limited to 'libglouglou/libggnet_dns.h')
-rw-r--r-- | libglouglou/libggnet_dns.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/libglouglou/libggnet_dns.h b/libglouglou/libggnet_dns.h index ae7b634..e254840 100644 --- a/libglouglou/libggnet_dns.h +++ b/libglouglou/libggnet_dns.h @@ -9,26 +9,26 @@ #endif struct ggnet_dns_req { - LIST_ENTRY(ggnet_dns_req) entry; - struct ggnet_dns *ggdns; - struct evdns_request *ereq; - struct in_addr ip; - char *name; - void (*cb_usr)(struct in_addr *, char *, void *); - void *data; + LIST_ENTRY(ggnet_dns_req) entry; + struct ggnet_dns *ggdns; + struct evdns_request *ereq; + struct in_addr ip; + char *name; + void (*cb_usr)(struct in_addr *, char *, void *); + void *data; }; struct ggnet_dns { - struct event_base *ev_base; - struct evdns_base *evdns_base; - int req_pending; - LIST_HEAD(, ggnet_dns_req) req_list; /* XXX for now unused. remove ? */ + struct event_base *ev_base; + struct evdns_base *evdns_base; + int req_pending; + LIST_HEAD(, ggnet_dns_req) req_list; /* XXX for now unused. remove ? */ }; -struct ggnet_dns *ggnet_dns_new(struct event_base *); -void ggnet_dns_free(struct ggnet_dns *); -struct ggnet_dns_req *ggnet_dns_reverse(struct ggnet_dns *, struct in_addr *, - void (*cb_usr)(struct in_addr *, char *, void *), - void *); -void ggnet_dns_cancel(struct ggnet_dns *, - struct ggnet_dns_req *); +struct ggnet_dns *ggnet_dns_new(struct event_base *); +void ggnet_dns_free(struct ggnet_dns *); +struct ggnet_dns_req *ggnet_dns_reverse(struct ggnet_dns *, struct in_addr *, + void (*cb_usr)(struct in_addr *, char *, void *), + void *); +void ggnet_dns_cancel(struct ggnet_dns *, + struct ggnet_dns_req *); |