tools/rpmxp.h

Go to the documentation of this file.
00001 #ifndef H_RPMXP
00002 #define H_RPMXP
00003                                                                                 
00009 #include <libxml/xmlreader.h>
00010 
00013 /*@-exportlocal@*/
00014 /*@unchecked@*/
00015 extern int _rpmxp_debug;
00016 /*@=exportlocal@*/
00017 
00020 /*@unchecked@*/ /*@observer@*/
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(/*@only@*/ /*@null@*/ rpmxp xp)
00053         /*@modifies xp @*/;
00054 
00060 /*@only@*/
00061 rpmxp rpmxpNew(const char * fn)
00062         /*@*/;
00063 
00069 int rpmxpRead(rpmxp xp)
00070         /*@modifies xp @*/;
00071 
00077 int rpmxpProcess(rpmxp xp)
00078         /*@modifies xp @*/;
00079 
00085 int rpmxpParseFile(rpmxp xp)
00086         /*@modifies xp @*/;
00087 
00088 #endif  /* H_RPMXP */

Generated on Mon Mar 5 14:31:00 2007 for rpm by  doxygen 1.5.1