diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-07-26 14:48:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-07-26 14:48:32 -0400 |
commit | cc2379d2642d2b9d0cbb1098ce1b3095e14551b3 (patch) | |
tree | 5d09b6841e3da17fec6993cad9efbbb1529bb530 /include | |
parent | e1c1167cbe7c3c7e60267abe242a2fa91f4c2dfe (diff) | |
download | libevent-cc2379d2642d2b9d0cbb1098ce1b3095e14551b3.tar.gz |
Constify a couple of arguments to evdns_server_request_add_*_reply
Diffstat (limited to 'include')
-rw-r--r-- | include/event2/dns.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event2/dns.h b/include/event2/dns.h index fa54381e..55a49272 100644 --- a/include/event2/dns.h +++ b/include/event2/dns.h @@ -572,8 +572,8 @@ void evdns_server_request_set_flags(struct evdns_server_request *req, int flags) /* Functions to add an answer to an in-progress DNS reply. */ int evdns_server_request_add_reply(struct evdns_server_request *req, int section, const char *name, int type, int dns_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); |