diff options
author | Volker Lendecke <vl@samba.org> | 2011-06-19 13:06:11 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-06-19 15:14:38 +0200 |
commit | 59887edd1d8ea1baefa3c884a80eafdb9691f095 (patch) | |
tree | 45111d7bf516149133223c449263a667bed284a1 | |
parent | 809e5ea5ba0b78663b495e34dea45bb9add75f18 (diff) | |
download | samba-59887edd1d8ea1baefa3c884a80eafdb9691f095.tar.gz |
s3: Remove unused name_queries
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jun 19 15:14:38 CEST 2011 on sn-devel-104
-rw-r--r-- | source3/libsmb/namequery.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 0083def51f6..8d843745d34 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1723,40 +1723,6 @@ static NTSTATUS name_queries_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } -static NTSTATUS name_queries(const char *name, int name_type, - bool bcast, bool recurse, - const struct sockaddr_storage *addrs, - int num_addrs, int wait_msec, int timeout_msec, - TALLOC_CTX *mem_ctx, - struct sockaddr_storage **result_addrs, - int *num_result_addrs, uint8_t *flags, - int *received_index) -{ - TALLOC_CTX *frame = talloc_stackframe(); - struct event_context *ev; - struct tevent_req *req; - NTSTATUS status = NT_STATUS_NO_MEMORY; - - ev = event_context_init(frame); - if (ev == NULL) { - goto fail; - } - req = name_queries_send(frame, ev, name, name_type, bcast, - recurse, addrs, num_addrs, wait_msec, - timeout_msec); - if (req == NULL) { - goto fail; - } - if (!tevent_req_poll_ntstatus(req, ev, &status)) { - goto fail; - } - status = name_queries_recv(req, mem_ctx, result_addrs, - num_result_addrs, flags, received_index); - fail: - TALLOC_FREE(frame); - return status; -} - /******************************************************** Resolve via "bcast" method. *********************************************************/ |