pakfire_package_add_relation(pkg, SOLVABLE_SUGGESTS, relation, 0);
}
+PAKFIRE_EXPORT PakfireRelationList pakfire_package_get_supplements(PakfirePackage pkg) {
+ return pakfire_package_get_relationlist(pkg, SOLVABLE_SUPPLEMENTS, 0);
+}
+
+PAKFIRE_EXPORT void pakfire_package_set_supplements(PakfirePackage pkg, PakfireRelationList relationlist) {
+ pakfire_package_set_relationlist(pkg, SOLVABLE_SUPPLEMENTS, relationlist, 0);
+}
+
+PAKFIRE_EXPORT PakfireRelationList pakfire_package_get_enhances(PakfirePackage pkg) {
+ return pakfire_package_get_relationlist(pkg, SOLVABLE_ENHANCES, 0);
+}
+
+PAKFIRE_EXPORT void pakfire_package_set_enhances(PakfirePackage pkg, PakfireRelationList relationlist) {
+ pakfire_package_set_relationlist(pkg, SOLVABLE_ENHANCES, relationlist, 0);
+}
+
PAKFIRE_EXPORT PakfireRepo pakfire_package_get_repo(PakfirePackage pkg) {
if (!pkg->repo) {
Solvable* s = get_solvable(pkg);
{ _("Obsoletes"), pakfire_package_get_obsoletes, },
{ _("Recommends"), pakfire_package_get_recommends, },
{ _("Suggests"), pakfire_package_get_suggests, },
+ { _("Supplements"), pakfire_package_get_supplements, },
+ { _("Enhances"), pakfire_package_get_enhances, },
{ NULL, NULL},
};