smbd: factor out smb2_query_directory_next_entry() from smbd_smb2_query_directory_send()
authorRalph Boehme <slow@samba.org>
Tue, 3 Jul 2018 09:25:57 +0000 (11:25 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 27 Jul 2018 11:07:15 +0000 (13:07 +0200)
commitabef6ca70610fbc2f0a527ff2084fe8eda43031b
tree61ddb4e4870ac632624df2a6e53411f82239c921
parentbcfc830c284e4eaa76e1a562bf60d8ecdf8d11ab
smbd: factor out smb2_query_directory_next_entry() from smbd_smb2_query_directory_send()

This paves the way for adding async functions into the enumeration loop.

Best viewed with: git show -w

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_query_directory.c