2 * Copyright (c) 2007, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
16 #include "pooltypes.h"
19 //-----------------------------------------------
22 typedef struct _Reldep {
25 int flags; // operation/relation, see REL_x below
28 extern Id str2id(Pool *pool, const char *, int);
29 extern Id rel2id(Pool *pool, Id, Id, int, int);
30 extern const char *id2str(Pool *pool, Id);
31 extern const char *dep2str(Pool *pool, Id);
32 extern const char *id2rel(Pool *pool, Id);
33 extern const char *id2evr(Pool *pool, Id);
35 extern void pool_shrink_strings(Pool *pool);
36 extern void pool_shrink_rels(Pool *pool);
37 extern void pool_freeidhashes(Pool *pool);