diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-20 08:46:00 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-20 08:46:00 +0000 |
commit | 3e670e4057321911c6674b8abe3c0bdcd684fd09 (patch) | |
tree | 7cafae87caec23475f42da2a0961dd939ec5f905 /Read-Manifest-Now | |
parent | f4b4b3e6e35916dc5e280542f5f914e40b25dd21 (diff) | |
download | samba-3e670e4057321911c6674b8abe3c0bdcd684fd09.tar.gz samba-3e670e4057321911c6674b8abe3c0bdcd684fd09.tar.bz2 samba-3e670e4057321911c6674b8abe3c0bdcd684fd09.zip |
a major share modes reorganisation.
The shares modes code is now split into separate files. The shared
memory implementation is in locking_shm.c. The slow implementation is
in locking_slow.c
It is all controlled by a struct share_ops structure that has function
pointers to the implementation of all the functions needed by a share
modes implementation. An initialisation function sets up this
structure. This will make adding new implementations easy and clean.
This also allowed me to get rid of the ugly code in smbstatus. Now
status.c links to the locking code and calls methods in share_ops.
I also renamed some things and generally organised things in a much
cleaner fashion. Defines and structures specific to each
implementation have been moved to the appropriate file and out of
smb.h.
(This used to be commit 65ab9adaa0d356b8041ed8a507ea52117f2a284e)
Diffstat (limited to 'Read-Manifest-Now')
0 files changed, 0 insertions, 0 deletions