adapt to AppStream 0.6
[platform/upstream/libsolv.git] / ext / testcase.h
index 0e56dd3..4243e4f 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "pool.h"
 #include "repo.h"
+#include "solver.h"
 
 #define TESTCASE_RESULT_TRANSACTION    (1 << 0)
 #define TESTCASE_RESULT_PROBLEMS       (1 << 1)
 #define TESTCASE_RESULT_RECOMMENDED    (1 << 3)
 #define TESTCASE_RESULT_UNNEEDED       (1 << 4)
 
-extern Id testcase_str2dep(Pool *pool, char *s);
+extern Id testcase_str2dep(Pool *pool, const char *s);
 extern const char *testcase_repoid2str(Pool *pool, Id repoid);
 extern const char *testcase_solvid2str(Pool *pool, Id p);
 extern Repo *testcase_str2repo(Pool *pool, const char *str);
 extern Id testcase_str2solvid(Pool *pool, const char *str);
 extern const char *testcase_job2str(Pool *pool, Id how, Id what);
 extern Id testcase_str2job(Pool *pool, const char *str, Id *whatp);
-extern int testcase_write_susetags(Repo *repo, FILE *fp);
-extern int testcase_add_susetags(Repo *repo, FILE *fp, int flags);
+extern int testcase_write_testtags(Repo *repo, FILE *fp);
+extern int testcase_add_testtags(Repo *repo, FILE *fp, int flags);
 extern const char *testcase_getsolverflags(Solver *solv);
 extern int testcase_setsolverflags(Solver *solv, const char *str);
 extern void testcase_resetsolverflags(Solver *solv);