|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
One active lock (RFC 4918 §6.4). More...
#include <webdav.h>
Public Attributes | |
| char | path [PROTOCORE_DAV_LOCK_PATH_MAX] |
| the locked resource path (trailing slash normalized off) | |
| char | token [PROTOCORE_DAV_LOCK_TOKEN_MAX] |
| the lock token (an opaquelocktoken URI) | |
| proto_bool | exclusive |
| exclusive-write (true) or shared (false) | |
| proto_bool | depth_infinity |
| the lock covers the whole subtree (Depth: infinity) vs just the resource | |
| proto_bool | active |
| false = free slot | |
| uint32_t | expiry_s |
| monotonic second the lock expires (0 = no timeout); swept by _sweep | |
| char DavLock::path[PROTOCORE_DAV_LOCK_PATH_MAX] |
| char DavLock::token[PROTOCORE_DAV_LOCK_TOKEN_MAX] |
| proto_bool DavLock::exclusive |
| proto_bool DavLock::depth_infinity |
| proto_bool DavLock::active |
| uint32_t DavLock::expiry_s |