summaryrefslogtreecommitdiff
path: root/libcli/dns
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2012-05-29 23:05:14 +0200
committerKai Blin <kai@samba.org>2012-05-30 02:35:24 +0200
commitaa0190825d4dcd9d6680638a06df5b4b7d89fd29 (patch)
treeb7525eda6a6da63454e37b56144f74c04cdde031 /libcli/dns
parent42e1b94f88dd47e4999af751b6d6c3278de3e422 (diff)
downloadsamba-aa0190825d4dcd9d6680638a06df5b4b7d89fd29.tar.gz
samba-aa0190825d4dcd9d6680638a06df5b4b7d89fd29.tar.bz2
samba-aa0190825d4dcd9d6680638a06df5b4b7d89fd29.zip
libcli/dns: Rename UDP-based calls to reflect their use
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed May 30 02:35:27 CEST 2012 on sn-devel-104
Diffstat (limited to 'libcli/dns')
-rw-r--r--libcli/dns/dns.c12
1 files changed, 6 insertions, 6 deletions
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);