/* * Copyright (c) 2007, Novell Inc. * * This program is licensed under the BSD license, read LICENSE.BSD * for further information */ /* * pooltypes.h * */ #ifndef LIBSOLV_POOLTYPES_H #define LIBSOLV_POOLTYPES_H /* format version number for .solv files */ #define SOLV_VERSION_0 0 #define SOLV_VERSION_1 1 #define SOLV_VERSION_2 2 #define SOLV_VERSION_3 3 #define SOLV_VERSION_4 4 #define SOLV_VERSION_5 5 #define SOLV_VERSION_6 6 #define SOLV_VERSION_7 7 #define SOLV_VERSION_8 8 #define SOLV_FLAG_PREFIX_POOL 4 #define SOLV_FLAG_SIZE_BYTES 8 struct s_Stringpool; typedef struct s_Stringpool Stringpool; struct s_Pool; typedef struct s_Pool Pool; /* identifier for string values */ typedef int Id; /* must be signed!, since negative Id is used in solver rules to denote negation */ /* offset value, e.g. used to 'point' into the stringspace */ typedef unsigned int Offset; #endif /* LIBSOLV_POOLTYPES_H */