summaryrefslogtreecommitdiff
path: root/lib/rpmfi_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmfi_internal.h')
-rw-r--r--lib/rpmfi_internal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/rpmfi_internal.h b/lib/rpmfi_internal.h
index 4e0180eb0..b27390bee 100644
--- a/lib/rpmfi_internal.h
+++ b/lib/rpmfi_internal.h
@@ -96,10 +96,9 @@ struct rpmfi_s {
pgpHashAlgo digestalgo; /*!< File checksum algorithm */
unsigned char * digests; /*!< File checksums in binary. */
- char * pretrans;
- char * pretransprog;
- char * posttrans;
- char * posttransprog;
+#define RPMFI_HAVE_PRETRANS (1 << 0)
+#define RPMFI_HAVE_POSTTRANS (1 << 1)
+ int transscripts; /*!< pre/posttrans script existence */
char * fn; /*!< File name buffer. */
size_t fnlen; /*!< FIle name buffer length. */