#include <libxml/xmlreader.h>
Go to the source code of this file.
Typedefs | |
typedef rpmxp_s * | rpmxp |
Functions | |
rpmxp | rpmxpFree (rpmxp xp) |
Destroy an xml parser. | |
rpmxp | rpmxpNew (const char *fn) |
Create an xml parser. | |
int | rpmxpRead (rpmxp xp) |
Read next item from an xml parser. | |
int | rpmxpProcess (rpmxp xp) |
Parse all elements from an xml parser. | |
int | rpmxpParseFile (rpmxp xp) |
Parse all elements from an xml parser. | |
Variables | |
int | _rpmxp_debug |
const char * | rpmxpDTD |
Definition in file rpmxp.h.
rpmxp rpmxpNew | ( | const char * | fn | ) |
Create an xml parser.
fn | xml file name |
Definition at line 44 of file rpmxml.c.
References rpmxpFree().
int rpmxpParseFile | ( | rpmxp | xp | ) |
Parse all elements from an xml parser.
xp | rpm xml parser |
Definition at line 251 of file rpmxml.c.
References rpmxpProcess(), and rpmxpRead().
int rpmxpProcess | ( | rpmxp | xp | ) |
Parse all elements from an xml parser.
xp | rpm xml parser |
Definition at line 91 of file rpmxml.c.
References _rpmxp_debug, Fclose(), Fopen(), HEADER_MAGIC_YES, headerAddEntry(), headerAddI18NString(), headerAddOrAppendEntry(), headerFree(), headerNew(), headerWrite(), myTagByName(), RPM_BIN_TYPE, RPM_CHAR_TYPE, RPM_I18NSTRING_TYPE, RPM_INT16_TYPE, RPM_INT32_TYPE, RPM_INT8_TYPE, RPM_NULL_TYPE, RPM_STRING_ARRAY_TYPE, RPM_STRING_TYPE, rpmTagTable, headerTagTableEntry_s::type, and headerTagTableEntry_s::val.
int rpmxpRead | ( | rpmxp | xp | ) |
int _rpmxp_debug |