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
16 /* format version number for .solv files */
17 #define SOLV_VERSION_0 0
18 #define SOLV_VERSION_1 1
19 #define SOLV_VERSION_2 2
20 #define SOLV_VERSION_3 3
21 #define SOLV_VERSION_4 4
22 #define SOLV_VERSION_5 5
23 #define SOLV_VERSION_6 6
24 #define SOLV_VERSION_7 7
25 #define SOLV_VERSION_8 8
27 #define SOLV_FLAG_PREFIX_POOL 4
28 #define SOLV_FLAG_SIZE_BYTES 8
31 typedef struct s_Stringpool Stringpool;
34 typedef struct s_Pool Pool;
36 /* identifier for string values */
37 typedef int Id; /* must be signed!, since negative Id is used in solver rules to denote negation */
39 /* offset value, e.g. used to 'point' into the stringspace */
40 typedef unsigned int Offset;
42 #endif /* LIBSOLV_POOLTYPES_H */