LLC2_API
Defines | Functions | Variables
xml_lookup.cpp File Reference
#include <stdio.h>
#include <string.h>
#include "xmlParser.h"

Go to the source code of this file.

Defines

#define MAXPATH   20
#define DELIM   "/"

Functions

int xml_lookup (XMLNode current, char **path, int nelems)
int xml_lookup (const char *doc, int nelems)
int parse_path (const char *path)
int main (int argc, char *argv[])

Variables

char ** path_elems

Define Documentation

#define DELIM   "/"

Definition at line 30 of file xml_lookup.cpp.

Referenced by parse_path().

#define MAXPATH   20

Definition at line 29 of file xml_lookup.cpp.

Referenced by parse_path().


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 77 of file xml_lookup.cpp.

References parse_path(), and xml_lookup().

int parse_path ( const char *  path)

Definition at line 64 of file xml_lookup.cpp.

References DELIM, MAXPATH, and path_elems.

Referenced by main().

int xml_lookup ( XMLNode  current,
char **  path,
int  nelems 
)
int xml_lookup ( const char *  doc,
int  nelems 
)

Definition at line 53 of file xml_lookup.cpp.

References XMLNode::openFileHelper(), path_elems, and xml_lookup().


Variable Documentation

char** path_elems

Definition at line 32 of file xml_lookup.cpp.

Referenced by parse_path(), and xml_lookup().