Imported Upstream version 0.7.20
[platform/upstream/libsolv.git] / src / solverdebug.h
1 /*
2  * Copyright (c) 2008, Novell Inc.
3  *
4  * This program is licensed under the BSD license, read LICENSE.BSD
5  * for further information
6  */
7
8 /*
9  * solverdebug.h
10  *
11  */
12
13 #ifndef LIBSOLV_SOLVERDEBUG_H
14 #define LIBSOLV_SOLVERDEBUG_H
15
16 #include "pooltypes.h"
17 #include "pool.h"
18 #include "solver.h"
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 extern void solver_printruleelement(Solver *solv, int type, Rule *r, Id v);
25 extern void solver_printrule(Solver *solv, int type, Rule *r);
26 extern void solver_printruleclass(Solver *solv, int type, Rule *r);
27 extern void solver_printproblem(Solver *solv, Id v);
28 extern void solver_printwatches(Solver *solv, int type);
29 extern void solver_printdecisionq(Solver *solv, int type);
30 extern void solver_printdecisions(Solver *solv);
31 extern void solver_printproblemruleinfo(Solver *solv, Id rule);
32 extern void solver_printprobleminfo(Solver *solv, Id problem);
33 extern void solver_printcompleteprobleminfo(Solver *solv, Id problem);
34 extern void solver_printsolution(Solver *solv, Id problem, Id solution);
35 extern void solver_printallsolutions(Solver *solv);
36
37 extern void transaction_print(Transaction *trans);
38
39 /* weird suse stuff */
40 extern void solver_printtrivial(Solver *solv);
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif /* LIBSOLV_SOLVERDEBUG_H */
47