LibreOffice Module ucb (master)  1
Classes | Macros | Functions
LockSequence.cxx File Reference
#include <config_lgpl.h>
#include <string.h>
#include <ne_xml.h>
#include "LockSequence.hxx"
#include <memory>
#include <sal/log.hxx>
Include dependency graph for LockSequence.cxx:

Go to the source code of this file.

Classes

struct  LockSequenceParseContext
 

Macros

#define STATE_TOP   (1)
 
#define STATE_ACTIVELOCK   (STATE_TOP)
 
#define STATE_LOCKSCOPE   (STATE_TOP + 1)
 
#define STATE_LOCKTYPE   (STATE_TOP + 2)
 
#define STATE_DEPTH   (STATE_TOP + 3)
 
#define STATE_OWNER   (STATE_TOP + 4)
 
#define STATE_TIMEOUT   (STATE_TOP + 5)
 
#define STATE_LOCKTOKEN   (STATE_TOP + 6)
 
#define STATE_EXCLUSIVE   (STATE_TOP + 7)
 
#define STATE_SHARED   (STATE_TOP + 8)
 
#define STATE_WRITE   (STATE_TOP + 9)
 
#define STATE_HREF   (STATE_TOP + 10)
 

Functions

static int LockSequence_startelement_callback (void *, int parent, const char *, const char *name, const char **)
 
static int LockSequence_chardata_callback (void *userdata, int state, const char *buf, size_t len)
 
static int LockSequence_endelement_callback (void *userdata, int state, const char *, const char *)
 

Macro Definition Documentation

#define STATE_ACTIVELOCK   (STATE_TOP)
#define STATE_DEPTH   (STATE_TOP + 3)
#define STATE_EXCLUSIVE   (STATE_TOP + 7)
#define STATE_HREF   (STATE_TOP + 10)
#define STATE_LOCKSCOPE   (STATE_TOP + 1)
#define STATE_LOCKTOKEN   (STATE_TOP + 6)

Definition at line 61 of file LockSequence.cxx.

Referenced by LockSequence_startelement_callback().

#define STATE_LOCKTYPE   (STATE_TOP + 2)
#define STATE_OWNER   (STATE_TOP + 4)
#define STATE_SHARED   (STATE_TOP + 8)
#define STATE_TIMEOUT   (STATE_TOP + 5)
#define STATE_TOP   (1)

Definition at line 53 of file LockSequence.cxx.

#define STATE_WRITE   (STATE_TOP + 9)

Function Documentation

static int LockSequence_chardata_callback ( void userdata,
int  state,
const char *  buf,
size_t  len 
)
static
static int LockSequence_endelement_callback ( void userdata,
int  state,
const char *  ,
const char *   
)
static
static int LockSequence_startelement_callback ( void ,
int  parent,
const char *  ,
const char *  name,
const char **   
)
static