Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (38 sloc) 1.575 kb
e38c7e9 Michael Schroeder - split problem handling from solver.c
mlschroe authored
1 /*
2 * Copyright (c) 2007-2009, Novell Inc.
3 *
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
6 */
7
8 /*
9 * problems.h
10 *
11 */
12
4cd5d62 Michael Schroeder rename satsolver -> libsolv
mlschroe authored
13 #ifndef LIBSOLV_PROBLEMS_H
14 #define LIBSOLV_PROBLEMS_H
e38c7e9 Michael Schroeder - split problem handling from solver.c
mlschroe authored
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20
21 struct _Solver;
22
23 #define SOLVER_SOLUTION_JOB (0)
24 #define SOLVER_SOLUTION_DISTUPGRADE (-1)
25 #define SOLVER_SOLUTION_INFARCH (-2)
26
27 void solver_disableproblem(struct _Solver *solv, Id v);
28 void solver_enableproblem(struct _Solver *solv, Id v);
29 int solver_prepare_solutions(struct _Solver *solv);
30
ecb4d90 Klaus Kämpf A _count is an unsigned int, not an Id
kkaempf authored
31 unsigned int solver_problem_count(struct _Solver *solv);
e38c7e9 Michael Schroeder - split problem handling from solver.c
mlschroe authored
32 Id solver_next_problem(struct _Solver *solv, Id problem);
ecb4d90 Klaus Kämpf A _count is an unsigned int, not an Id
kkaempf authored
33 unsigned int solver_solution_count(struct _Solver *solv, Id problem);
e38c7e9 Michael Schroeder - split problem handling from solver.c
mlschroe authored
34 Id solver_next_solution(struct _Solver *solv, Id problem, Id solution);
ecb4d90 Klaus Kämpf A _count is an unsigned int, not an Id
kkaempf authored
35 unsigned int solver_solutionelement_count(struct _Solver *solv, Id problem, Id solution);
d9da98e Michael Schroeder - add pool_addvendorclass and solver_solutionelement_internalid
mlschroe authored
36 Id solver_solutionelement_internalid(struct _Solver *solv, Id problem, Id solution);
7dd686e Michael Schroeder - clean up update/feature rule handling in allowuninstall case. Automati...
mlschroe authored
37 Id solver_solutionelement_extrajobflags(struct _Solver *solv, Id problem, Id solution);
e38c7e9 Michael Schroeder - split problem handling from solver.c
mlschroe authored
38 Id solver_next_solutionelement(struct _Solver *solv, Id problem, Id solution, Id element, Id *p, Id *rp);
39
7dd686e Michael Schroeder - clean up update/feature rule handling in allowuninstall case. Automati...
mlschroe authored
40 void solver_take_solutionelement(struct _Solver *solv, Id p, Id rp, Id extrajobflags, Queue *job);
dcfb57c Michael Schroeder - add solver_take_solution() function
mlschroe authored
41 void solver_take_solution(struct _Solver *solv, Id problem, Id solution, Queue *job);
42
e38c7e9 Michael Schroeder - split problem handling from solver.c
mlschroe authored
43 Id solver_findproblemrule(struct _Solver *solv, Id problem);
44 void solver_findallproblemrules(struct _Solver *solv, Id problem, Queue *rules);
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50 #endif
Something went wrong with that request. Please try again.