summaryrefslogtreecommitdiff
path: root/lib/rpmfi.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-18 18:32:58 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-18 18:32:58 +0200
commit0e65e6e92cd3c0e6e796b6595bbf1ff709d54375 (patch)
tree05f07ba5463d13d5422faf3ad4b01be4b5e7972d /lib/rpmfi.h
parent219ba347365e226f87d2d489e105a52a798c0284 (diff)
downloadrpm-0e65e6e92cd3c0e6e796b6595bbf1ff709d54375.tar.gz
rpm-0e65e6e92cd3c0e6e796b6595bbf1ff709d54375.tar.bz2
rpm-0e65e6e92cd3c0e6e796b6595bbf1ff709d54375.zip
Add preliminary rpmfi flag groupings for base operations
- just a start and probably not 100% accurate..
Diffstat (limited to 'lib/rpmfi.h')
-rw-r--r--lib/rpmfi.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/rpmfi.h b/lib/rpmfi.h
index cc36db7e6..616a79f44 100644
--- a/lib/rpmfi.h
+++ b/lib/rpmfi.h
@@ -404,6 +404,22 @@ typedef enum rpmfiFlags_e {
RPMFI_ISSOURCE = (1 << 31), /* internal */
} rpmfiFlags;
+#define RPMFI_FLAGS_REMOVE \
+ (RPMFI_NOFILECLASS | RPMFI_NOFILELANGS | RPMFI_NOFILEMODES | \
+ RPMFI_NOFILEMTIMES | RPMFI_NOFILERDEVS | RPMFI_NOFILEINODES | \
+ RPMFI_NOFILEVERIFYFLAGS)
+
+#define RPMFI_FLAGS_INSTALL \
+ (RPMFI_NOFILECLASS | RPMFI_NOFILEVERIFYFLAGS)
+
+#define RPMFI_FLAGS_VERIFY \
+ (RPMFI_NOFILECLASS | RPMFI_NOFILEDEPS | RPMFI_NOFILELANGS | \
+ RPMFI_NOFILECOLORS)
+
+#define RPMFI_FLAGS_QUERY \
+ (RPMFI_NOFILECLASS | RPMFI_NOFILEDEPS | RPMFI_NOFILELANGS | \
+ RPMFI_NOFILECOLORS | RPMFI_NOFILEVERIFYFLAGS)
+
/** \ingroup rpmfi
* Create and load a file info set.
* @deprecated Only scareMem = 0 will be permitted.