From aa0190825d4dcd9d6680638a06df5b4b7d89fd29 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 29 May 2012 23:05:14 +0200 Subject: libcli/dns: Rename UDP-based calls to reflect their use Autobuild-User: Kai Blin Autobuild-Date: Wed May 30 02:35:27 CEST 2012 on sn-devel-104 --- libcli/dns/dns.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libcli/dns') diff --git a/libcli/dns/dns.c b/libcli/dns/dns.c index ac0c9e4995..da65ce4c4f 100644 --- a/libcli/dns/dns.c +++ b/libcli/dns/dns.c @@ -39,8 +39,8 @@ struct dns_udp_request_state { }; /* Declare callback functions used below. */ -static void dns_request_get_reply(struct tevent_req *subreq); -static void dns_request_done(struct tevent_req *subreq); +static void dns_udp_request_get_reply(struct tevent_req *subreq); +static void dns_udp_request_done(struct tevent_req *subreq); struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, @@ -92,11 +92,11 @@ struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - tevent_req_set_callback(subreq, dns_request_get_reply, req); + tevent_req_set_callback(subreq, dns_udp_request_get_reply, req); return req; } -static void dns_request_get_reply(struct tevent_req *subreq) +static void dns_udp_request_get_reply(struct tevent_req *subreq) { struct tevent_req *req = tevent_req_callback_data(subreq, struct tevent_req); @@ -123,11 +123,11 @@ static void dns_request_get_reply(struct tevent_req *subreq) return; } - tevent_req_set_callback(subreq, dns_request_done, req); + tevent_req_set_callback(subreq, dns_udp_request_done, req); return; } -static void dns_request_done(struct tevent_req *subreq) +static void dns_udp_request_done(struct tevent_req *subreq) { struct tevent_req *req = tevent_req_callback_data(subreq, struct tevent_req); -- cgit