satsolver  0.17.2
solvable.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2007, Novell Inc.
3  *
4  * This program is licensed under the BSD license, read LICENSE.BSD
5  * for further information
6  */
7 
8 /*
9  * solvable.h
10  *
11  * A solvable represents an object with name-epoch:version-release.arch and dependencies
12  */
13 
14 #ifndef SATSOLVER_SOLVABLE_H
15 #define SATSOLVER_SOLVABLE_H
16 
17 #include "pooltypes.h"
18 
19 struct _Repo;
20 
21 typedef struct _Solvable {
24  Id evr; /* epoch:version-release */
26 
27  struct _Repo *repo; /* repo we belong to */
28 
29  /* dependencies are offsets into idarray of repo */
30  Offset provides; /* terminated with Id 0 */
33 
37 
40 
41 } Solvable;
42 
43 #endif /* SATSOLVER_SOLVABLE_H */