]> granicus.if.org Git - apache/commit
Add a generic locking provider to DAV - mod_dav_lock. Other DAV providers
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 4 Jan 2003 23:19:39 +0000 (23:19 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sat, 4 Jan 2003 23:19:39 +0000 (23:19 +0000)
commit3b7508c5aaf11189bc135d145f0be07d8f705526
treec3919d93d751c347a34de4f4027456f68af2dd3f
parent7548524cc992a45d202cfc5afe8d8c4e1986c857
Add a generic locking provider to DAV - mod_dav_lock.  Other DAV providers
can use the dav_hooks_locks_generic structure to implement locking in a
non-optimal, but compliant fashion.  (Use 'dav-lock', 'generic', '0' to
ap_lookup_provider to retrieve it.)

Use the DavGenericLockDB directive to configure the location of the lock
database (may be server-relative or absolute).

This allows all DAV providers to use a baseline locking API rather than roll
their own.

This code is based mainly off the mod_dav_fs locking code (which uses the
on-disk storage for locking), but removing components that aren't needed in a
non-file-backed repository (such as recording inodes).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98161 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/dav/lock/.cvsignore [new file with mode: 0644]
modules/dav/lock/Makefile.in [new file with mode: 0644]
modules/dav/lock/config6.m4 [new file with mode: 0644]
modules/dav/lock/locks.c [new file with mode: 0644]
modules/dav/lock/locks.h [new file with mode: 0644]
modules/dav/lock/mod_dav_lock.c [new file with mode: 0644]