summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-11-26 12:43:25 -0800
committerJeremy Allison <jra@samba.org>2019-12-04 20:02:40 +0000
commitf4caa4159bd3db5127e114718e606867348a4f47 (patch)
tree8f967b8188029b87702d664c179bd8b7807e887f /source3/smbd/globals.h
parent836219c479b047403d2b0839a6b92ad637dbaea0 (diff)
downloadsamba-f4caa4159bd3db5127e114718e606867348a4f47.tar.gz
s3: smbd: Change (*proto_reply_fn()) to return an NTSTATUS.
That way the caller can know if the negprot really succeeded or not. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14205 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index a5e02ebc96a..e6641837668 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -232,8 +232,8 @@ bool smbd_smb2_is_compound(const struct smbd_smb2_request *req);
NTSTATUS smbd_add_connection(struct smbXsrv_client *client, int sock_fd,
struct smbXsrv_connection **_xconn);
-void reply_smb2002(struct smb_request *req, uint16_t choice);
-void reply_smb20ff(struct smb_request *req, uint16_t choice);
+NTSTATUS reply_smb2002(struct smb_request *req, uint16_t choice);
+NTSTATUS reply_smb20ff(struct smb_request *req, uint16_t choice);
NTSTATUS smbd_smb2_process_negprot(struct smbXsrv_connection *xconn,
uint64_t expected_seq_low,
const uint8_t *inpdu, size_t size);