diff options
author | Christof Schmitt <cs@samba.org> | 2017-09-21 17:41:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-09-22 05:45:21 +0200 |
commit | cfa2c3083080016a1288474b8879039db4dbf6b1 (patch) | |
tree | b63b3e0754c25e171a87ccea981ea4cd3dd2779a /source3/smbd/globals.h | |
parent | 835f5068e35e344e19066021f31501f898f8b106 (diff) | |
download | samba-cfa2c3083080016a1288474b8879039db4dbf6b1.tar.gz |
smbd: Move check for SMB2 compound request to new function
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13047
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index ae5ecf40138..78f1260909d 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -225,6 +225,7 @@ void smbd_server_connection_terminate_ex(struct smbXsrv_connection *xconn, const char *smb2_opcode_name(uint16_t opcode); bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size); +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); |