Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.899 kb
-ifndef(_YAWS_DAV).
-define(_YAWS_DAV, true).
-define(LOCK_LIFETIME, 900). % lock lifetime in seconds: 15 minutes
-define(CLEANUP_INTERVAL, 60). % cleanup interval in seconds: 1 minute
-define(elog(X,Y), error_logger:info_msg("*elog ~p:~p: " X,
[?MODULE, ?LINE | Y])).
-record(resource,{
name, % normalized name of resource
info % file_info record of mapped file
}).
-record(davlock,{
path=undefined, % resource path
id=undefined, % uid
owner=anonymous, % lock owner if submitted
depth=infinity, % 0|infinity
scope=exclusive, % exclusive|shared
type=write, % write
timeout=0, % ?LOCK_LIFETIME or shorter
timestamp=0 % erlang:now()
}).
-endif.
Jump to Line
Something went wrong with that request. Please try again.