1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/target/rpm/RpmFlags.h
12 #ifndef ZYPP_TARGET_RPM_RPMFLAGS_H
13 #define ZYPP_TARGET_RPM_RPMFLAGS_H
17 #include <zypp/base/Flags.h>
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
22 ///////////////////////////////////////////////////////////////////
24 { /////////////////////////////////////////////////////////////////
25 ///////////////////////////////////////////////////////////////////
27 { /////////////////////////////////////////////////////////////////
30 * Bits representing rpm installation options.
32 * Use \ref RpmInstFlags as a type-safe way of
33 * storing OR-combinations.
35 * @see RpmDb::installPackage(), RpmDb::removePackage(),
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
53 /** \relates RpmInstFlag Type-safe way of storing OR-combinations. */
54 ZYPP_DECLARE_FLAGS_AND_OPERATORS( RpmInstFlags, RpmInstFlag );
56 /////////////////////////////////////////////////////////////////
58 ///////////////////////////////////////////////////////////////////
59 /////////////////////////////////////////////////////////////////
61 ///////////////////////////////////////////////////////////////////
62 /////////////////////////////////////////////////////////////////
64 ///////////////////////////////////////////////////////////////////
65 #endif // ZYPP_TARGET_RPM_RPMFLAGS_H