diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-12 02:56:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-12 02:56:54 +0000 |
commit | 097aec8e9dd45b8a640a01a1fd57302249f16bd8 (patch) | |
tree | a171db6d894f6af267c6ac013dda292a8ff1ac08 /src/or/eventdns.h | |
parent | 707429e9a3a819625321c954f19796ba54627c82 (diff) | |
download | tor-097aec8e9dd45b8a640a01a1fd57302249f16bd8.tar.gz tor-097aec8e9dd45b8a640a01a1fd57302249f16bd8.zip |
r11497@Kushana: nickm | 2006-12-11 21:17:45 -0500
Rename nameserver functions: every one should now have "server" in the name.
svn:r9086
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index 88084c8ef5..b9b54f31d2 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -107,13 +107,13 @@ typedef void (*evdns_request_callback_fn_type)(struct evdns_server_request *, vo struct evdns_server_port *evdns_add_server_port(int socket, int is_tcp, evdns_request_callback_fn_type callback, void *user_data); void evdns_close_server_port(struct evdns_server_port *port); -int evdns_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_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl); -int evdns_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl); -int evdns_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl); -int evdns_request_add_cname_reply(struct evdns_server_request *req, const char *name, const char *cname, int ttl); - -int evdns_request_respond(struct evdns_server_request *req, int err); -int evdns_request_drop(struct evdns_server_request *req); +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_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); + +int evdns_server_request_respond(struct evdns_server_request *req, int err); +int evdns_server_request_drop(struct evdns_server_request *req); #endif // !EVENTDNS_H |