summaryrefslogtreecommitdiff
path: root/src/solvable.h
blob: aaecd710a522fae754b5f2db309315bd5e666d2d (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
/*
 * solvable.h
 * 
 * A solvable represents an object with name-epoch:version-release.arch and dependencies
 */

#ifndef SOLVABLE_H
#define SOLVABLE_H

#include "pooltypes.h"

typedef struct _Solvable {
  Id name;
  Id arch;
  Id evr;

  // dependencies are pointers into idarray of source the solvable originates from
  Id *provides;			// terminated with Id 0
  Id *obsoletes;
  Id *conflicts;

  Id *requires;
  Id *recommends;
  Id *suggests;

  Id *supplements;
  Id *enhances;

  Id *freshens;
} Solvable;

#endif /* SOLVABLE_H */