Apache HTTPD
Classes | Macros | Typedefs | Functions
element_declarations.c File Reference
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <expat.h>

Go to the source code of this file.

Classes

struct  StackStruct
 

Macros

#define XML_FMT_INT_MOD   "l"
 
#define XML_FMT_STR   "s"
 

Typedefs

typedef struct StackStruct Stack
 

Functions

static StackstackPushMalloc (Stack *stackTop, const XML_Content *model, unsigned level)
 
static StackstackPopFree (Stack *stackTop)
 
static charcontentTypeName (enum XML_Content_Type contentType)
 
static charcontentQuantName (enum XML_Content_Quant contentQuant)
 
static void dumpContentModelElement (const XML_Content *model, unsigned level, const XML_Content *root)
 
static bool dumpContentModel (const XML_Char *name, const XML_Content *root)
 
static void XMLCALL handleElementDeclaration (void *userData, const XML_Char *name, XML_Content *model)
 
int main (void)
 

Macro Definition Documentation

◆ XML_FMT_INT_MOD

#define XML_FMT_INT_MOD   "l"

Definition at line 49 of file element_declarations.c.

◆ XML_FMT_STR

#define XML_FMT_STR   "s"

Definition at line 55 of file element_declarations.c.

Typedef Documentation

◆ Stack

Function Documentation

◆ contentQuantName()

static char * contentQuantName ( enum XML_Content_Quant  contentQuant)
static

Definition at line 106 of file element_declarations.c.

◆ contentTypeName()

static char * contentTypeName ( enum XML_Content_Type  contentType)
static

Definition at line 86 of file element_declarations.c.

◆ dumpContentModel()

static bool dumpContentModel ( const XML_Char name,
const XML_Content root 
)
static

Definition at line 144 of file element_declarations.c.

◆ dumpContentModelElement()

static void dumpContentModelElement ( const XML_Content model,
unsigned  level,
const XML_Content root 
)
static

Definition at line 122 of file element_declarations.c.

◆ handleElementDeclaration()

static void XMLCALL handleElementDeclaration ( void *  userData,
const XML_Char name,
XML_Content model 
)
static

Definition at line 179 of file element_declarations.c.

◆ main()

int main ( void  )

Definition at line 190 of file element_declarations.c.

◆ stackPopFree()

static Stack * stackPopFree ( Stack stackTop)
static

Definition at line 79 of file element_declarations.c.

◆ stackPushMalloc()

static Stack * stackPushMalloc ( Stack stackTop,
const XML_Content model,
unsigned  level 
)
static

Definition at line 67 of file element_declarations.c.