s3: smbd: Add utility function smbd_smb2_is_last_in_compound().
authorJeremy Allison <jra@samba.org>
Thu, 20 Oct 2022 22:08:14 +0000 (15:08 -0700)
committerJule Anger <janger@samba.org>
Mon, 16 Jan 2023 09:40:17 +0000 (09:40 +0000)
commitbfadcc893e6ff2cd7f34896a194e7029fd6a76f5
tree3ac2092ca15df3e9f8f349e8449a184dcd91fcc9
parent9b357c947fd6c36779f49dc37f9c81392c9c81fb
s3: smbd: Add utility function smbd_smb2_is_last_in_compound().

Not yet used. Returns true if we're processing the last SMB2 request in a
compound.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15172

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e668c3a82cd566b405c976d45659dd79786948de)
source3/smbd/globals.h
source3/smbd/smb2_server.c