smbd: Add share_mode_forall_entries()
authorVolker Lendecke <vl@samba.org>
Tue, 13 Aug 2019 13:09:51 +0000 (15:09 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 17 Sep 2019 22:49:36 +0000 (22:49 +0000)
commiteb99635d0f2a8dbd52d4a5143efe5a9716401b08
treeff5edf9a65975a9d4f6429793c4819171dde395a
parentbe799acb4558f347c6e6a82874897c7af0c0c3d8
smbd: Add share_mode_forall_entries()

Abstract away the fact that we store the share modes as an array inside
"struct share_mode_data".

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/locking.c
source3/locking/proto.h