summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2020-09-08 13:07:07 -0700
committerNoel Power <npower@samba.org>2020-09-15 10:09:36 +0000
commit923648b0c42388b00eb8b46dcf4f0d7d4f18684d (patch)
tree14660b733af711d3785b666916986611d3fe7259 /source3/libsmb/namequery.h
parent8f868b0ea0b4795668f7bc0b028cd85686b249fb (diff)
downloadsamba-923648b0c42388b00eb8b46dcf4f0d7d4f18684d.tar.gz
s3: libsmb: Convert node_status_query() and associated functions and callers to expect a size_t * return.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'source3/libsmb/namequery.h')
-rw-r--r--source3/libsmb/namequery.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/namequery.h b/source3/libsmb/namequery.h
index e8df065c7e9..8d22754d248 100644
--- a/source3/libsmb/namequery.h
+++ b/source3/libsmb/namequery.h
@@ -35,12 +35,12 @@ struct tevent_req *node_status_query_send(TALLOC_CTX *mem_ctx,
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,
+ size_t *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,
+ size_t *pnum_names,
struct node_status_extra *extra);
bool name_status_find(const char *q_name,
int q_type,