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

libzypp 17.25.10

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/base/Flags.h>
18
20 namespace 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 };
52
54 ZYPP_DECLARE_FLAGS_AND_OPERATORS( RpmInstFlags, RpmInstFlag );
55
57 } // namespace rpm
60 } // namespace target
63 } // namespace zypp
65 #endif // ZYPP_TARGET_RPM_RPMFLAGS_H
Flags.h
ZYPP_DECLARE_FLAGS_AND_OPERATORS
#define ZYPP_DECLARE_FLAGS_AND_OPERATORS(Name, Enum)
Definition: Flags.h:189
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_NODEPS
@ RPMINST_NODEPS
Definition: RpmFlags.h:43
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_EXCLUDEDOCS
@ RPMINST_EXCLUDEDOCS
Definition: RpmFlags.h:40
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2