summaryrefslogtreecommitdiff
path: root/src/or/eventdns.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-10 16:00:48 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-10 16:00:48 -0500
commit6a829a340477a117d2e7cacc44688988d4b5be41 (patch)
tree83c51b5bcf70d674bdda54fd6770b7777911d0df /src/or/eventdns.h
parent5ae391762c93fa4cdf47ceb24c31282daf695a65 (diff)
downloadtor-6a829a340477a117d2e7cacc44688988d4b5be41.tar.gz
tor-6a829a340477a117d2e7cacc44688988d4b5be41.zip
Make eventdns server functions const void* to match libevent
partial fix for bug 2332
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r--src/or/eventdns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h
index bf3b64d08a..2fe4ac9371 100644
--- a/src/or/eventdns.h
+++ b/src/or/eventdns.h
@@ -323,8 +323,8 @@ struct evdns_server_port *evdns_add_server_port(int socket, int is_tcp, evdns_re
void evdns_close_server_port(struct evdns_server_port *port);
int evdns_server_request_add_reply(struct evdns_server_request *req, int section, const char *name, int type, int class, int ttl, int datalen, int is_name, const char *data);
-int evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl);
-int evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl);
+int evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl);
+int evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl);
int evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl);
int evdns_server_request_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl);