diff options
Diffstat (limited to 'xmlspec/XMLRequires.h')
-rw-r--r-- | xmlspec/XMLRequires.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmlspec/XMLRequires.h b/xmlspec/XMLRequires.h index 4fc9fd62d..8daccadcf 100644 --- a/xmlspec/XMLRequires.h +++ b/xmlspec/XMLRequires.h @@ -204,6 +204,18 @@ public: static bool addObsolete(XMLAttrs* pAttrs, XMLSpec* pSpec); + /** + * Adds requires/provides/obsoletes from RPM structures + * . + * @param pPackage pointer to the RPM package + * @param pSpec pointer to the RPM spec + * @param pXSpec pointer to the XML spec to populate + * @return true on success, false otherwise + **/ + static bool structCreate(PackageStruct* pPackage, + Spec pSpec, + XMLSpec* pXSpec); + // // constructors/destructor // |