2 * Copyright (c) 2007, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
13 #ifndef LIBSOLV_POOLTYPES_H
14 #define LIBSOLV_POOLTYPES_H
20 /* format version number for .solv files */
21 #define SOLV_VERSION_0 0
22 #define SOLV_VERSION_1 1
23 #define SOLV_VERSION_2 2
24 #define SOLV_VERSION_3 3
25 #define SOLV_VERSION_4 4
26 #define SOLV_VERSION_5 5
27 #define SOLV_VERSION_6 6
28 #define SOLV_VERSION_7 7
29 #define SOLV_VERSION_8 8
30 #define SOLV_VERSION_9 9
32 #define SOLV_FLAG_PREFIX_POOL 4
33 #define SOLV_FLAG_SIZE_BYTES 8
34 #define SOLV_FLAG_USERDATA 16
35 #define SOLV_FLAG_IDARRAYBLOCK 32
38 typedef struct s_Stringpool Stringpool;
41 typedef struct s_Pool Pool;
44 typedef struct s_Repo Repo;
47 typedef struct s_Repodata Repodata;
50 typedef struct s_Solvable Solvable;
52 /* identifier for string values */
53 typedef int Id; /* must be signed!, since negative Id is used in solver rules to denote negation */
55 /* offset value, e.g. used to 'point' into the stringspace */
56 typedef unsigned int Offset;
62 #endif /* LIBSOLV_POOLTYPES_H */