summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-29 10:03:13 +0200
committerKai Blin <kai@samba.org>2012-05-30 00:37:59 +0200
commitd5ce36b1487d679ef22198427d298ecad38b8af6 (patch)
tree772599fdc5a910cefc0d81c2ebbbe15bb43726e7
parentd4998ccce73e1ca782b8bd40430be1a625a4c8fb (diff)
downloadsamba-d5ce36b1487d679ef22198427d298ecad38b8af6.tar.gz
samba-d5ce36b1487d679ef22198427d298ecad38b8af6.tar.bz2
samba-d5ce36b1487d679ef22198427d298ecad38b8af6.zip
s4-dns: Remove sync dns_process
Signed-off-by: Kai Blin <kai@samba.org>
-rw-r--r--source4/dns_server/dns_server.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index caf347d3b8..34e4fe36ba 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -234,30 +234,6 @@ drop:
return WERR_OK;
}
-static WERROR dns_process(struct dns_server *dns, TALLOC_CTX *mem_ctx,
- DATA_BLOB *in, DATA_BLOB *out)
-{
- struct tevent_context *ev;
- struct tevent_req *req;
- WERROR err = WERR_NOMEM;
-
- ev = tevent_context_init(talloc_tos());
- if (ev == NULL) {
- goto fail;
- }
- req = dns_process_send(ev, ev, dns, in);
- if (req == NULL) {
- goto fail;
- }
- if (!tevent_req_poll_werror(req, ev, &err)) {
- goto fail;
- }
- err = dns_process_recv(req, mem_ctx, out);
-fail:
- TALLOC_FREE(ev);
- return err;
-}
-
struct dns_tcp_call {
struct dns_tcp_connection *dns_conn;
DATA_BLOB in;