diff options
author | Michael Schroeder <mls@suse.de> | 2012-02-17 15:47:47 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-02-17 15:47:47 +0100 |
commit | fb73073fad0bd5bfddea4b3968f05ec6ad505461 (patch) | |
tree | b536f79eedfb43916b5f58065d552164d846a885 /src/pool.h | |
parent | 6f573dbe7b2c1e98d2961b931b125bec85d01462 (diff) | |
download | libsolv-fb73073fad0bd5bfddea4b3968f05ec6ad505461.tar.gz libsolv-fb73073fad0bd5bfddea4b3968f05ec6ad505461.tar.bz2 libsolv-fb73073fad0bd5bfddea4b3968f05ec6ad505461.zip |
- hide repodata internals (needed to move repo_write from ext to src for this)
also deleted repodata_create, use repo_add_repodata instead
Diffstat (limited to 'src/pool.h')
-rw-r--r-- | src/pool.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -314,6 +314,11 @@ void pool_add_fileconflicts_deps(Pool *pool, Queue *conflicts); if ((r = pool->repos[repoid]) != 0) +#ifdef ENABLE_COMPS +#define ISCONDDEP(id) (ISRELDEP(id) && (GETRELDEP(pool, id))->flags == REL_COND) +#define MODIFYCONDDEP(id, tst) do { Reldep *condrd = GETRELDEP(pool, id); Id condp, condpp; FOR_PROVIDES(condrd->evr, condp, condpp) if (tst) break; id = condp ? condrd->name : 0;} while(0) +#endif + #define POOL_DEBUG(type, ...) do {if ((pool->debugmask & (type)) != 0) pool_debug(pool, (type), __VA_ARGS__);} while (0) #define IF_POOLDEBUG(type) if ((pool->debugmask & (type)) != 0) |