Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
return r;
}
-static int pakfire_repo_write_metadata(struct pakfire_repo* repo, struct pakfire_key* key) {
+int pakfire_repo_write_metadata(struct pakfire_repo* repo, struct pakfire_key* key) {
struct json_object* repomd = NULL;
FILE* f = NULL;
int r = 1;
// Compose
+int pakfire_repo_write_metadata(struct pakfire_repo* repo, struct pakfire_key* key);
+
int pakfire_repo_compose(struct pakfire* pakfire, const char* path,
struct pakfire_key* key, const char** files);