#include "types.h"
#include <expat.h>
Go to the source code of this file.
Functions | |
scew_parser * | scew_parser_create () |
void | scew_parser_free (scew_parser *parser) |
unsigned int | scew_parser_load_file (scew_parser *parser, char const *file_name) |
unsigned int | scew_parser_load_buffer (scew_parser *parser, unsigned char const *buffer, unsigned int size) |
scew_tree * | scew_parser_tree (scew_parser const *parser) |
XML_Parser | scew_parser_expat (scew_parser *parser) |
These are the parser functions that allow to read an XML tree from a file or a memory buffer.
|
Creates a new parser which will be used to load XML trees. |
|
Returns the internal Expat parser. Probably some low-level Expat functions need to be called. This function gives you access to the Expat parser so you will be able to call those functions. If you modify the Expat parser event handling routines, SCEW will not be able to load the XML tree. |
|
Frees a parser memory structure. This function will not free the
|
|
Loads an XML tree from the specified memory buffer of the specified size using the given parser.
|
|
Loads an XML tree from the specified file name using the given parser.
|
|
Returns the XML tree read by the parser. Remember that
|