- add a license
[platform/upstream/libsolv.git] / src / pooltypes.h
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  * pooltypes.h
10  * 
11  */
12
13 #ifndef POOLTYPES_H
14 #define POOLTYPES_H
15
16 /* version number for .solv files */
17 #define SOLV_VERSION 0
18
19 struct _Pool;
20 typedef struct _Pool Pool;
21
22 // identifier for string values
23 typedef int Id;         /* must be signed!, since negative Id is used in solver rules to denote negation */
24
25 // offset value, e.g. used to 'point' into the stringspace
26 typedef unsigned int Offset;
27
28 #endif /* POOLTYPES_H */