#ifndef LIBSOLV_POOLID_H
#define LIBSOLV_POOLID_H
#include "pooltypes.h"
#include "hash.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct s_Reldep {
Id name;
Id evr;
int flags;
} Reldep;
extern Id pool_str2id(Pool *pool, const char *, int);
extern Id pool_strn2id(Pool *pool, const char *, unsigned int, int);
extern Id pool_rel2id(Pool *pool, Id, Id, int, int);
extern const char *pool_id2str(const Pool *pool, Id);
extern const char *pool_id2rel(const Pool *pool, Id);
extern const char *pool_id2evr(const Pool *pool, Id);
extern const char *pool_dep2str(Pool *pool, Id);
extern void pool_shrink_strings(Pool *pool);
extern void pool_shrink_rels(Pool *pool);
extern void pool_freeidhashes(Pool *pool);
extern void pool_resize_rels_hash(Pool *pool, int numnew);
#ifdef __cplusplus
}
#endif
#endif