12 #ifndef ZYPP_SAT_DETAIL_POOLIMPL_H
13 #define ZYPP_SAT_DETAIL_POOLIMPL_H
16 #include <solv/pool.h>
17 #include <solv/repo.h>
18 #include <solv/solvable.h>
19 #include <solv/poolarch.h>
20 #include <solv/repo_solv.h>
83 void setDirty(
const char * a1 = 0,
const char * a2 = 0,
const char * a3 = 0 );
87 void localeSetDirty(
const char * a1 = 0,
const char * a2 = 0,
const char * a3 = 0 );
91 void depSetDirty(
const char * a1 = 0,
const char * a2 = 0,
const char * a3 = 0 );
101 {
return repo_r &&
_pool->installed == repo_r; }
104 {
return _pool->installed; }
109 const char * rd = ::pool_get_rootdir(
_pool );
110 return( rd ? rd :
"/" );
116 if ( root_r.empty() || root_r ==
"/" )
117 ::pool_set_rootdir(
_pool,
nullptr );
119 ::pool_set_rootdir(
_pool, root_r.c_str() );
156 {
return slv_r.repo; }
178 return &
_pool->solvables[id_r];
196 for( ++id_r; id_r < unsigned(
_pool->nsolvables); ++id_r )
219 {
return _pool->whatprovidesdata[offset_r]; }
272 LocaleSet::const_iterator it( avl.find( locale_r ) );
273 return it != avl.end();
373 #define POOL_SETDIRTY
374 #endif // ZYPP_SAT_DETAIL_POOLIMPL_H