Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
WebDAVLockMgr Struct Reference

Detailed Description

Input/output record for WebDAV_lockmgr().

#include <WebDAV.h>

Public Attributes

int action
 Input: 0 tests a lock, 1 creates, 2 removes, 3 reads owner XML. More...
 
BaTime lockTime
 Action 1 input: duration in seconds. More...
 
const char * name
 Required input resource path relative to the WebDAV IoIntf, NUL-terminated and borrowed for the call. More...
 
const char * owner
 Action 1 input: required NUL-terminated owner text inserted into an XML href element. More...
 
ResIntfPtr fp
 Action 3 output only: opened owner-XML resource, or NULL if opening fails. More...
 

Member Data Documentation

◆ action

int WebDAVLockMgr::action

Input: 0 tests a lock, 1 creates, 2 removes, 3 reads owner XML.

◆ fp

ResIntfPtr WebDAVLockMgr::fp

Action 3 output only: opened owner-XML resource, or NULL if opening fails.

Caller must close a non-NULL handle.

◆ lockTime

BaTime WebDAVLockMgr::lockTime

Action 1 input: duration in seconds.

Action 3 output: absolute Unix expiry time, including the implementation's 60-second allowance.

◆ name

const char* WebDAVLockMgr::name

Required input resource path relative to the WebDAV IoIntf, NUL-terminated and borrowed for the call.

◆ owner

const char* WebDAVLockMgr::owner

Action 1 input: required NUL-terminated owner text inserted into an XML href element.

Supply XML-escaped content; the implementation does not escape it.