diff options
author | Volker Lendecke <vl@samba.org> | 2010-12-28 12:53:12 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-12-28 13:46:59 +0100 |
commit | 571711431885e8e556822c14b3d117025860bf81 (patch) | |
tree | 71b18d38cf64e5315e0895c58d1c5fa48fd49cf8 /source3/include | |
parent | e1ab3c3470a7f1159d52ed0c1eacf4a5a7b6bc2b (diff) | |
download | samba-571711431885e8e556822c14b3d117025860bf81.tar.gz samba-571711431885e8e556822c14b3d117025860bf81.tar.bz2 samba-571711431885e8e556822c14b3d117025860bf81.zip |
s3: Make node_status_query return NTSTATUS
Also make the result talloc'ed
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 28 13:46:59 CET 2010 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 12 |
1 files changed, 7 insertions, 5 deletions
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, |