#ifndef LIBSOLV_REPO_SOLVE_H
#define LIBSOLV_REPO_SOLVE_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stdio.h>
#include "pool.h"
#include "repo.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern int repo_add_solv(Repo *repo, FILE *fp, int flags);
+extern int solv_read_userdata(FILE *fp, unsigned char **datap, int *lenp);
#define SOLV_ADD_NO_STUBS (1 << 8)