Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
return evr;
}
-static const char* pakfire_package_make_filename(struct pakfire_package* pkg) {
+const char* pakfire_package_get_filename(struct pakfire_package* pkg) {
int r;
if (!*pkg->filename) {
// Generate the filename if not set
if (!ret)
- ret = pakfire_package_make_filename(pkg);
+ ret = pakfire_package_get_filename(pkg);
break;
case PAKFIRE_PKG_CACHE_PATH:
int pakfire_package_set_strings_from_string(struct pakfire_package* pkg,
const enum pakfire_package_key key, const char* value);
+const char* pakfire_package_get_filename(struct pakfire_package* pkg);
+
int pakfire_package_is_source(struct pakfire_package* pkg);
int pakfire_package_supports_build_arch(struct pakfire_package* pkg, const char* arch);