diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2013-06-05 19:27:25 +0200 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2013-06-05 19:27:25 +0200 |
commit | c870d03c638130e8cb9dd94f62f51da06b0f04ca (patch) | |
tree | 903490f5ba3b60e2085dc582817445b56c66e9f3 /libglouglou/libggnet_dns.h | |
parent | libglouglou: update my email (last one...) (diff) | |
parent | indent fix, pass 2 (diff) | |
download | glouglou-c870d03c638130e8cb9dd94f62f51da06b0f04ca.tar.xz glouglou-c870d03c638130e8cb9dd94f62f51da06b0f04ca.zip |
Merge branch 'master' into traceroute
Conflicts:
gg_sniff/pcap.c
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 *); |