libzypp: zypp/ng/sat/poolconstants.h Source File

libzypp 17.38.14

poolconstants.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8----------------------------------------------------------------------/
9*
10* This file contains private API, this might break at any time between releases.
11* You have been warned!
12*
13*/
14#ifndef ZYPP_NG_SAT_POOLDEFINES_H_INCLUDED
15#define ZYPP_NG_SAT_POOLDEFINES_H_INCLUDED
16
17
18extern "C"
19{
20#include <solv/pool.h>
21#include <solv/repo.h>
22#include <solv/solvable.h>
23#include <solv/poolarch.h>
24#include <solv/repo_solv.h>
25#include <solv/pool_parserpmrichdep.h>
26}
27
28#include <zypp/sat/detail/PoolDefines.h>
29
30namespace zyppng::sat {
31
32 namespace detail {
33 using CDataiterator = zypp::sat::detail::CDataiterator;
34 using CDatamatcher = zypp::sat::detail::CDatamatcher;
35 using CMap = zypp::sat::detail::CMap;
36 using CPool = zypp::sat::detail::CPool;
37 using CQueue = zypp::sat::detail::CQueue;
38 using CRepo = zypp::sat::detail::CRepo;
39 using CSolvable = zypp::sat::detail::CSolvable;
40 using CSolver = zypp::sat::detail::CSolver;
41 using CTransaction = zypp::sat::detail::CTransaction;
42
43 using IdType = zypp::sat::detail::IdType;
44 using SolvableIdType = zypp::sat::detail::SolvableIdType;
45 using RepoIdType = zypp::sat::detail::RepoIdType;
46
47 using zypp::sat::detail::noId;
48 using zypp::sat::detail::emptyId;
49 using zypp::sat::detail::solvablePrereqMarker;
50 using zypp::sat::detail::solvableFileMarker;
51 using zypp::sat::detail::namespaceModalias;
52 using zypp::sat::detail::namespaceLanguage;
53 using zypp::sat::detail::namespaceFilesystem;
54 using zypp::sat::detail::noSolvableId;
55 using zypp::sat::detail::systemSolvableId;
56 using zypp::sat::detail::noRepoId;
57 using zypp::sat::detail::isDepMarkerId;
58
59 using size_type = SolvableIdType;
60 }
61
66 enum class PoolInvalidation {
71 Dependency,
72
76 Data
77 };
78
79
80}
81
82#endif //ZYPP_NG_SAT_POOLDEFINES_H_INCLUDED
PoolDefines.h
zypp::sat::detail::namespaceLanguage
static const IdType namespaceLanguage(20)
zypp::sat::detail::solvablePrereqMarker
static const IdType solvablePrereqMarker(15)
Internal ids satlib includes in dependencies.
zypp::sat::detail::solvableFileMarker
static const IdType solvableFileMarker(16)
zypp::sat::detail::emptyId
static const IdType emptyId(1)
zypp::sat::detail::CMap
::s_Map CMap
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:33
zypp::sat::detail::SolvableIdType
unsigned int SolvableIdType
Id type to connect Solvable and sat-solvable.
Definition PoolDefines.h:63
zypp::sat::detail::namespaceModalias
static const IdType namespaceModalias(18)
zypp::sat::detail::namespaceFilesystem
static const IdType namespaceFilesystem(21)
zypp::sat::detail::CRepo
::s_Repo CRepo
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:36
zypp::sat::detail::noId
static const IdType noId(0)
zypp::sat::detail::noSolvableId
static const SolvableIdType noSolvableId(0)
Id to denote Solvable::noSolvable.
zypp::sat::detail::IdType
int IdType
Generic Id type.
Definition PoolDefines.h:42
zypp::sat::detail::CQueue
::s_Queue CQueue
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:35
zypp::sat::detail::noRepoId
static const RepoIdType noRepoId(0)
Id to denote Repo::noRepository.
zypp::sat::detail::isDepMarkerId
bool isDepMarkerId(IdType id_r)
Test for internal ids satlib includes in dependencies.
Definition PoolDefines.h:57
zypp::sat::detail::CSolvable
::s_Solvable CSolvable
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:37
zypp::sat::detail::CSolver
::s_Solver CSolver
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:38
zypp::sat::detail::CPool
::s_Pool CPool
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:34
zypp::sat::detail::CDatamatcher
::s_Datamatcher CDatamatcher
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:32
zypp::sat::detail::CDataiterator
::s_Dataiterator CDataiterator
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:31
zypp::sat::detail::CTransaction
::s_Transaction CTransaction
Wrapped libsolv C data type exposed as backdoor.
Definition PoolDefines.h:39
zypp::sat::detail::systemSolvableId
static const SolvableIdType systemSolvableId(1)
Id to denote the usually hidden Solvable::systemSolvable.
zypp::sat::detail::RepoIdType
CRepo * RepoIdType
Id type to connect Repo and sat-repo.
Definition PoolDefines.h:71
zyppng::sat::detail
CLASS NAME : detail::DIWrap.
Definition cap2str.cc:14
zyppng::sat::detail::CSolvable
zypp::sat::detail::CSolvable CSolvable
Definition poolconstants.h:39
zyppng::sat::detail::CQueue
zypp::sat::detail::CQueue CQueue
Definition poolconstants.h:37
zyppng::sat::detail::CDatamatcher
zypp::sat::detail::CDatamatcher CDatamatcher
Definition poolconstants.h:34
zyppng::sat::detail::CDataiterator
zypp::sat::detail::CDataiterator CDataiterator
Definition poolconstants.h:33
zyppng::sat::detail::RepoIdType
zypp::sat::detail::RepoIdType RepoIdType
Definition poolconstants.h:45
zyppng::sat::detail::CPool
zypp::sat::detail::CPool CPool
Definition poolconstants.h:36
zyppng::sat::detail::SolvableIdType
zypp::sat::detail::SolvableIdType SolvableIdType
Definition poolconstants.h:44
zyppng::sat::detail::CTransaction
zypp::sat::detail::CTransaction CTransaction
Definition poolconstants.h:41
zyppng::sat::detail::CMap
zypp::sat::detail::CMap CMap
Definition poolconstants.h:35
zyppng::sat::detail::CSolver
zypp::sat::detail::CSolver CSolver
Definition poolconstants.h:40
zyppng::sat::detail::IdType
zypp::sat::detail::IdType IdType
Definition poolconstants.h:43
zyppng::sat::detail::CRepo
zypp::sat::detail::CRepo CRepo
Definition poolconstants.h:38
zyppng::sat::detail::size_type
SolvableIdType size_type
Definition poolconstants.h:59
zyppng::sat
This file contains private API, this might break at any time between releases.
Definition capabilities.h:22
zyppng::sat::PoolInvalidation
PoolInvalidation
Defines the scope of an invalidation request for the Pool.
Definition poolconstants.h:66
zyppng::sat::PoolInvalidation::Dependency
@ Dependency
Only external requirements/context changed (e.g., Locales).
Definition poolconstants.h:71
zyppng::sat::PoolInvalidation::Data
@ Data
Structural or data change (e.g., Rootfs, Arch, or Repo content).
Definition poolconstants.h:76