00001 #ifndef H_RPMXP
00002 #define H_RPMXP
00003
00009 #include <libxml/xmlreader.h>
00010
00013
00014
00015 extern int _rpmxp_debug;
00016
00017
00020
00021 extern const char * rpmxpDTD;
00022
00025 typedef struct rpmxp_s * rpmxp;
00026
00027 #if defined(_RPMXP_INTERNAL)
00028
00031 struct rpmxp_s {
00032 xmlTextReaderPtr reader;
00033
00034 xmlChar * name;
00035 xmlChar * value;
00036 int depth;
00037 int nodeType;
00038 int isEmptyElement;
00039
00040 Header h;
00041 headerTagTableEntry tte;
00042
00043 int n;
00044 };
00045 #endif
00046
00052 rpmxp rpmxpFree( rpmxp xp)
00053 ;
00054
00060
00061 rpmxp rpmxpNew(const char * fn)
00062 ;
00063
00069 int rpmxpRead(rpmxp xp)
00070 ;
00071
00077 int rpmxpProcess(rpmxp xp)
00078 ;
00079
00085 int rpmxpParseFile(rpmxp xp)
00086 ;
00087
00088 #endif