#include "system.h"
#include <rpmlib.h>
#include "rpmxp.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | _RPMXP_INTERNAL |
Functions | |
rpmxp | rpmxpFree (rpmxp xp) |
Destroy an xml parser. | |
rpmxp | rpmxpNew (const char *fn) |
Create an xml parser. | |
static headerTagTableEntry | myTagByName (headerTagTableEntry tbl, const char *name) |
Return tag table entry from name lookup. | |
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. | |
int | main (int argc, char **argv) |
Variables | |
const char * | program_name |
int | _rpmxp_debug = 0 |
const char * | rpmxpDTD |
|
|
|
Definition at line 261 of file rpmxml.c. References rpmxpFree(), rpmxpNew(), and rpmxpParseFile(). |
|
Return tag table entry from name lookup.
Definition at line 74 of file rpmxml.c. References headerTagTableEntry_s::name, and xstrcasecmp(). Referenced by rpmxpProcess(). |
|
Destroy an xml parser.
Definition at line 23 of file rpmxml.c. Referenced by main(), and rpmxpNew(). |
|
Create an xml parser.
Definition at line 44 of file rpmxml.c. Referenced by main(). |
|
Parse all elements from an xml parser.
Definition at line 251 of file rpmxml.c. Referenced by main(). |
|
Parse all elements from an xml parser.
Definition at line 91 of file rpmxml.c. Referenced by rpmxpParseFile(). |
|
Read next item from an xml parser.
Definition at line 86 of file rpmxml.c. Referenced by rpmxpParseFile(). |
|
Definition at line 9 of file rpmxml.c. Referenced by rpmxpProcess(). |
|
|
|
Initial value: "\ <?xml version=\"1.0\"?>\n\ <!DOCTYPE rpmHeader [\n\ <!ELEMENT rpmHeader (rpmTag+)>\n\ <!ELEMENT rpmTag (string+|integer+|base64+)>\n\ <!ATTLIST rpmTag name CDATA #REQUIRED>\n\ <!ELEMENT string (#PCDATA)>\n\ <!ELEMENT integer (#PCDATA)>\n\ <!ELEMENT base64 (#PCDATA)>\n\ ]>\n\ " Definition at line 11 of file rpmxml.c. Referenced by spewHeader(). |