ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
DavLock Struct Reference

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
 

Detailed Description

One active lock (RFC 4918 §6.4).

Definition at line 70 of file webdav.h.

Member Data Documentation

◆ path

char DavLock::path[PROTOCORE_DAV_LOCK_PATH_MAX]

the locked resource path (trailing slash normalized off)

Definition at line 72 of file webdav.h.

◆ token

char DavLock::token[PROTOCORE_DAV_LOCK_TOKEN_MAX]

the lock token (an opaquelocktoken URI)

Definition at line 73 of file webdav.h.

◆ exclusive

proto_bool DavLock::exclusive

exclusive-write (true) or shared (false)

Definition at line 74 of file webdav.h.

◆ depth_infinity

proto_bool DavLock::depth_infinity

the lock covers the whole subtree (Depth: infinity) vs just the resource

Definition at line 75 of file webdav.h.

◆ active

proto_bool DavLock::active

false = free slot

Definition at line 76 of file webdav.h.

◆ expiry_s

uint32_t DavLock::expiry_s

monotonic second the lock expires (0 = no timeout); swept by _sweep

Definition at line 77 of file webdav.h.


The documentation for this struct was generated from the following file: