libzypp: zypp/target/rpm/RpmFlags.h Source File

libzypp 17.38.14

RpmFlags.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_TARGET_RPM_RPMFLAGS_H
13#define ZYPP_TARGET_RPM_RPMFLAGS_H
14
15#include <iosfwd>
16
17#include <zypp-core/base/Flags.h>
18
20namespace zypp
21{
23 namespace target
24 {
26 namespace rpm
27 {
28
37 enum RpmInstFlag
38 {
39 RPMINST_NONE = 0x0000,
40 RPMINST_EXCLUDEDOCS = 0x0001,
41 RPMINST_NOSCRIPTS = 0x0002,
42 RPMINST_FORCE = 0x0004,
43 RPMINST_NODEPS = 0x0008,
44 RPMINST_IGNORESIZE = 0x0010,
45 RPMINST_JUSTDB = 0x0020,
46 RPMINST_NODIGEST = 0x0040,
47 RPMINST_NOSIGNATURE = 0x0080,
48 RPMINST_NOUPGRADE = 0x0100,
49 RPMINST_TEST = 0x0200,
50 RPMINST_NOPOSTTRANS = 0x0400,
51 RPMINST_ALLOWDOWNGRADE = 0x0800,
52 RPMINST_REPLACEFILES = 0x1000,
53 RPMINST_ALLOWUNTRUSTED = 0x2000,
54 };
55
57 ZYPP_DECLARE_FLAGS_AND_OPERATORS( RpmInstFlags, RpmInstFlag );
58
60 } // namespace rpm
63 } // namespace target
66} // namespace zypp
68#endif // ZYPP_TARGET_RPM_RPMFLAGS_H
Flags.h
zypp::target::rpm
Definition KeyRing.h:327
zypp::target::rpm::RpmInstFlag
RpmInstFlag
Bits representing rpm installation options.
Definition RpmFlags.h:38
zypp::target::rpm::RPMINST_NONE
@ RPMINST_NONE
Definition RpmFlags.h:39
zypp::target::rpm::RPMINST_NOSIGNATURE
@ RPMINST_NOSIGNATURE
Definition RpmFlags.h:47
zypp::target::rpm::RPMINST_NOSCRIPTS
@ RPMINST_NOSCRIPTS
Definition RpmFlags.h:41
zypp::target::rpm::RPMINST_ALLOWUNTRUSTED
@ RPMINST_ALLOWUNTRUSTED
Definition RpmFlags.h:53
zypp::target::rpm::RPMINST_NODEPS
@ RPMINST_NODEPS
Definition RpmFlags.h:43
zypp::target::rpm::RPMINST_REPLACEFILES
@ RPMINST_REPLACEFILES
Definition RpmFlags.h:52
zypp::target::rpm::RPMINST_JUSTDB
@ RPMINST_JUSTDB
Definition RpmFlags.h:45
zypp::target::rpm::RPMINST_FORCE
@ RPMINST_FORCE
Definition RpmFlags.h:42
zypp::target::rpm::RPMINST_IGNORESIZE
@ RPMINST_IGNORESIZE
Definition RpmFlags.h:44
zypp::target::rpm::RPMINST_TEST
@ RPMINST_TEST
Definition RpmFlags.h:49
zypp::target::rpm::RPMINST_NOPOSTTRANS
@ RPMINST_NOPOSTTRANS
Definition RpmFlags.h:50
zypp::target::rpm::RPMINST_NODIGEST
@ RPMINST_NODIGEST
Definition RpmFlags.h:46
zypp::target::rpm::RPMINST_NOUPGRADE
@ RPMINST_NOUPGRADE
Definition RpmFlags.h:48
zypp::target::rpm::RPMINST_ALLOWDOWNGRADE
@ RPMINST_ALLOWDOWNGRADE
Definition RpmFlags.h:51
zypp::target::rpm::RPMINST_EXCLUDEDOCS
@ RPMINST_EXCLUDEDOCS
Definition RpmFlags.h:40
zypp::target::rpm::ZYPP_DECLARE_FLAGS_AND_OPERATORS
ZYPP_DECLARE_FLAGS_AND_OPERATORS(RpmInstFlags, RpmInstFlag)
relates: RpmInstFlag Type-safe way of storing OR-combinations.
zypp::target
Definition KeyRing.h:325
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2