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)
embed_bool exclusive
 exclusive-write (true) or shared (false)
embed_bool depth_infinity
 the lock covers the whole subtree (Depth: infinity) vs just the resource
embed_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 58 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 60 of file webdav.h.

◆ token

char DavLock::token[PROTOCORE_DAV_LOCK_TOKEN_MAX]

the lock token (an opaquelocktoken URI)

Definition at line 61 of file webdav.h.

◆ exclusive

embed_bool DavLock::exclusive

exclusive-write (true) or shared (false)

Definition at line 62 of file webdav.h.

◆ depth_infinity

embed_bool DavLock::depth_infinity

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

Definition at line 63 of file webdav.h.

◆ active

embed_bool DavLock::active

false = free slot

Definition at line 64 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 65 of file webdav.h.


The documentation for this struct was generated from the following file:
  • src/network_drivers/application/webdav/webdav.h