blob: 60e7e7d7640e28bfde1afcb6d8847faa2fa36552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*
* Copyright (c) 2007, Novell Inc.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/*
* solvable.h
*
* A solvable represents an object with name-epoch:version-release.arch and dependencies
*/
#ifndef SATSOLVER_SOLVABLE_H
#define SATSOLVER_SOLVABLE_H
#include "pooltypes.h"
struct _Repo;
typedef struct _Solvable {
Id name;
Id arch;
Id evr; /* epoch:version-release */
Id vendor;
struct _Repo *repo; /* repo we belong to */
/* dependencies are offsets into idarray of repo */
Offset provides; /* terminated with Id 0 */
Offset obsoletes;
Offset conflicts;
Offset requires;
Offset recommends;
Offset suggests;
Offset supplements;
Offset enhances;
} Solvable;
#endif /* SATSOLVER_SOLVABLE_H */
|