/home/dko/Projects/mobilec/src/mxml-2.2.2/mxmldoc.c File Reference

#include "config.h"
#include "mxml.h"

Go to the source code of this file.

Defines

#define STATE_NONE   0
#define STATE_PREPROCESSOR   1
#define STATE_C_COMMENT   2
#define STATE_CXX_COMMENT   3
#define STATE_STRING   4
#define STATE_CHARACTER   5
#define STATE_IDENTIFIER   6

Functions

static mxml_node_tadd_variable (mxml_node_t *parent, const char *name, mxml_node_t *type)
static void safe_strcpy (char *dst, const char *src)
static int scan_file (const char *filename, FILE *fp, mxml_node_t *doc)
static void sort_node (mxml_node_t *tree, mxml_node_t *func)
static void update_comment (mxml_node_t *parent, mxml_node_t *comment)
static void write_documentation (mxml_node_t *doc)
static void write_element (mxml_node_t *doc, mxml_node_t *element)
static void write_string (const char *s)
static const char * ws_cb (mxml_node_t *node, int where)
int main (int argc, char *argv[])

Define Documentation

#define STATE_C_COMMENT   2

Definition at line 129 of file mxmldoc.c.

Referenced by scan_file().

#define STATE_CHARACTER   5

Definition at line 132 of file mxmldoc.c.

Referenced by scan_file().

#define STATE_CXX_COMMENT   3

Definition at line 130 of file mxmldoc.c.

Referenced by scan_file().

#define STATE_IDENTIFIER   6

Definition at line 133 of file mxmldoc.c.

Referenced by scan_file().

#define STATE_NONE   0

Definition at line 127 of file mxmldoc.c.

Referenced by scan_file().

#define STATE_PREPROCESSOR   1

Definition at line 128 of file mxmldoc.c.

Referenced by scan_file().

#define STATE_STRING   4

Definition at line 131 of file mxmldoc.c.

Referenced by scan_file().


Function Documentation

static mxml_node_t * add_variable ( mxml_node_t parent,
const char *  name,
mxml_node_t type 
) [static]
int main ( int  argc,
char *  argv[] 
)
static void safe_strcpy ( char *  dst,
const char *  src 
) [static]

Definition at line 427 of file mxmldoc.c.

Referenced by update_comment().

static int scan_file ( const char *  filename,
FILE *  fp,
mxml_node_t doc 
) [static]
static void sort_node ( mxml_node_t tree,
mxml_node_t func 
) [static]
static void update_comment ( mxml_node_t parent,
mxml_node_t comment 
) [static]
static void write_documentation ( mxml_node_t doc  )  [static]
static void write_element ( mxml_node_t doc,
mxml_node_t element 
) [static]
static void write_string ( const char *  s  )  [static]

Definition at line 2660 of file mxmldoc.c.

Referenced by write_element().

static const char * ws_cb ( mxml_node_t node,
int  where 
) [static]
Generated on Tue Dec 28 15:15:28 2010 for Mobile-C by  doxygen 1.6.3