From 571711431885e8e556822c14b3d117025860bf81 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 28 Dec 2010 12:53:12 +0100 Subject: s3: Make node_status_query return NTSTATUS Also make the result talloc'ed Autobuild-User: Volker Lendecke Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104 --- source3/include/proto.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index af2b359531..8278ffbcd5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2699,11 +2699,13 @@ 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 ); -struct node_status *node_status_query(int fd, - struct nmb_name *name, - const struct sockaddr_storage *to_ss, - int *num_names, - struct node_status_extra *extra); +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 node_status_extra *extra); bool name_status_find(const char *q_name, int q_type, int type, -- cgit