1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/locking
Volker Lendecke d762ab558a locking: hide share_mode_lock definition
This makes "struct share_mode_lock" an opaque data structure opened up
only to the code in locking/. This makes it much safer to modify the
data structure with defined accessor functions in share_mode_lock.c.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Nov 10 21:12:48 UTC 2020 on sn-devel-184
2020-11-10 21:12:48 +00:00
..
brlock.c smbd: Use ARRAY_DEL_ELEMENT() in brl_unlock_windows_default() 2020-03-26 14:43:31 +00:00
leases_db.c s3:leases: log errors with level 0 in leases_db_do_locked_fn() 2020-07-07 01:25:49 +00:00
leases_db.h smbd: Add quick leases_db_get_current_state() 2019-09-17 22:49:36 +00:00
leases_util.c s3:smbd: avoid dereferencing client->connections 2020-07-08 15:54:40 +00:00
locking.c locking: hide share_mode_lock definition 2020-11-10 21:12:48 +00:00
posix.c s3:locking: Remove dead code 2020-06-16 09:08:34 +00:00
proto.h smbd: Give locking/share_mode_lock.c its own header file 2020-11-10 19:49:34 +00:00
share_mode_lock_private.h locking: hide share_mode_lock definition 2020-11-10 21:12:48 +00:00
share_mode_lock.c locking: hide share_mode_lock definition 2020-11-10 21:12:48 +00:00
share_mode_lock.h locking: hide share_mode_lock definition 2020-11-10 21:12:48 +00:00