diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-04 18:34:38 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-01-07 13:28:04 +0100 |
commit | a32f021d66f7b4f5cc3b902371a22ced1f786fee (patch) | |
tree | c969994ade79b23ee72b2d8e962507aecc9648aa /source3/include | |
parent | 77a9b0e265ae6e65bd0a0b73f65b3a8953b3f59d (diff) | |
download | samba-a32f021d66f7b4f5cc3b902371a22ced1f786fee.tar.gz samba-a32f021d66f7b4f5cc3b902371a22ced1f786fee.tar.bz2 samba-a32f021d66f7b4f5cc3b902371a22ced1f786fee.zip |
s3: Make node_status_query use /tmp/.nmbd/unexpected
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 418a0d104c..780e3bf332 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2699,12 +2699,18 @@ bool saf_store( const char *domain, const char *servername ); bool saf_join_store( const char *domain, const char *servername ); bool saf_delete( const char *domain ); char *saf_fetch( const char *domain ); -NTSTATUS node_status_query(int fd, - struct nmb_name *name, - const struct sockaddr_storage *to_ss, - TALLOC_CTX *mem_ctx, - struct node_status **names, - int *num_names, +struct tevent_req *node_status_query_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct nmb_name *name, + const struct sockaddr_storage *addr); +NTSTATUS node_status_query_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, + struct node_status **pnode_status, + int *pnum_names, + struct node_status_extra *extra); +NTSTATUS node_status_query(TALLOC_CTX *mem_ctx, struct nmb_name *name, + const struct sockaddr_storage *addr, + struct node_status **pnode_status, + int *pnum_names, struct node_status_extra *extra); bool name_status_find(const char *q_name, int q_type, |