summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-01-04 18:48:47 +0100
committerVolker Lendecke <vl@samba.org>2011-01-07 13:28:05 +0100
commit6ba4bddb61cb6033a7937152966a608c1bbced40 (patch)
tree56a9c41645cef3006e19f3f5eb6461a587411e96 /source3/include
parenta32f021d66f7b4f5cc3b902371a22ced1f786fee (diff)
downloadsamba-6ba4bddb61cb6033a7937152966a608c1bbced40.tar.gz
samba-6ba4bddb61cb6033a7937152966a608c1bbced40.tar.bz2
samba-6ba4bddb61cb6033a7937152966a608c1bbced40.zip
s3: Make name_query use /tmp/.nmbd/unexpected
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 780e3bf332..a67f2b4690 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2718,17 +2718,20 @@ bool name_status_find(const char *q_name,
const struct sockaddr_storage *to_ss,
fstring name);
int ip_service_compare(struct ip_service *ss1, struct ip_service *ss2);
-NTSTATUS name_query(int fd,
- const char *name,
- int name_type,
- bool bcast,
- bool recurse,
- const struct sockaddr_storage *to_ss,
- TALLOC_CTX *mem_ctx,
- struct sockaddr_storage **addrs,
- int *count,
- int *flags,
- bool *timed_out);
+struct tevent_req *name_query_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ const char *name, int name_type,
+ bool bcast, bool recurse,
+ const struct sockaddr_storage *addr);
+NTSTATUS name_query_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
+ struct sockaddr_storage **addrs, int *num_addrs,
+ uint8_t *flags);
+NTSTATUS name_query(const char *name, int name_type,
+ bool bcast, bool recurse,
+ const struct sockaddr_storage *to_ss,
+ TALLOC_CTX *mem_ctx,
+ struct sockaddr_storage **addrs,
+ int *num_addrs, uint8_t *flags);
NTSTATUS name_resolve_bcast(const char *name,
int name_type,
struct ip_service **return_iplist,