summaryrefslogtreecommitdiff
path: root/Perl-RPM
diff options
context:
space:
mode:
authorrjray <devnull@localhost>2000-08-18 08:23:25 +0000
committerrjray <devnull@localhost>2000-08-18 08:23:25 +0000
commitb7e4f83858f100e4c1d26420b889df06fed0fdd7 (patch)
treef4979eb00c6ff142cb6ed22db5635af9ff988f64 /Perl-RPM
parent9b6f934309708042a29afc7dc71d5fb6b90258e0 (diff)
downloadrpm-b7e4f83858f100e4c1d26420b889df06fed0fdd7.tar.gz
rpm-b7e4f83858f100e4c1d26420b889df06fed0fdd7.tar.bz2
rpm-b7e4f83858f100e4c1d26420b889df06fed0fdd7.zip
Added a field to the RPM_Header struct.
CVS patchset: 4078 CVS date: 2000/08/18 08:23:25
Diffstat (limited to 'Perl-RPM')
-rw-r--r--Perl-RPM/RPM.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Perl-RPM/RPM.h b/Perl-RPM/RPM.h
index 7848ac250..b5640cae3 100644
--- a/Perl-RPM/RPM.h
+++ b/Perl-RPM/RPM.h
@@ -1,5 +1,5 @@
/*
- * $Id: RPM.h,v 1.8 2000/08/06 08:57:09 rjray Exp $
+ * $Id: RPM.h,v 1.9 2000/08/18 08:23:25 rjray Exp $
*
* Various C-specific decls/includes/etc. for the RPM linkage
*/
@@ -90,6 +90,9 @@ typedef struct {
/* Keep a per-header iterator for things like FIRSTKEY and NEXTKEY */
HeaderIterator iterator;
int read_only;
+ /* Since we close the files after reading, store the filename here in case
+ we have to re-open it later */
+ char* source_name;
} RPM_Header;
typedef HV* RPM__Header;