20 #ifndef __C_CREATEREPOLIB_XML_DUMP_H__
21 #define __C_CREATEREPOLIB_XML_DUMP_H__
28 #include "deltarpms.h"
31 #include "updateinfo.h"
66 #define CR_XML_COMMON_NS "http://linux.duke.edu/metadata/common"
68 #define CR_XML_FILELISTS_NS "http://linux.duke.edu/metadata/filelists"
70 #define CR_XML_OTHER_NS "http://linux.duke.edu/metadata/other"
72 #define CR_XML_REPOMD_NS "http://linux.duke.edu/metadata/repo"
74 #define CR_XML_RPM_NS "http://linux.duke.edu/metadata/rpm"
159 unsigned char *out) __attribute__ ((hot));
char * cr_xml_dump_other(cr_Package *package, GError **err)
void cr_latin1_to_utf8(const unsigned char *in, unsigned char *out) __attribute__((hot))
gboolean cr_hascontrollchars(const unsigned char *str)
char * cr_xml_dump_deltapackage(cr_DeltaPackage *dpkg, GError **err)
char * cr_xml_dump_repomd(cr_Repomd *repomd, GError **err)
struct cr_XmlStruct cr_xml_dump(cr_Package *package, GError **err)
void cr_xml_dump_cleanup()
char * cr_xml_dump_primary(cr_Package *package, GError **err)
char * cr_xml_dump_filelists(cr_Package *package, GError **err)
char * cr_xml_dump_updateinfo(cr_UpdateInfo *updateinfo, GError **err)
char * cr_xml_dump_updaterecord(cr_UpdateRecord *rec, GError **err)