diff options
author | marc <devnull@localhost> | 1996-01-05 02:10:08 +0000 |
---|---|---|
committer | marc <devnull@localhost> | 1996-01-05 02:10:08 +0000 |
commit | ce54f1b8883baadb2589744010dd195d3fcdde6e (patch) | |
tree | 04f191ee06cb7ba3c295a0b40f5a6f32e1abfc03 /lib | |
parent | 2e74958d63adfc24c64427b59fe770817694db91 (diff) | |
download | librpm-tizen-ce54f1b8883baadb2589744010dd195d3fcdde6e.tar.gz librpm-tizen-ce54f1b8883baadb2589744010dd195d3fcdde6e.tar.bz2 librpm-tizen-ce54f1b8883baadb2589744010dd195d3fcdde6e.zip |
added RPMLEAD_SIGNONE RPMLEAD_SIZE
added signature_type to the lead structure
pad lead structure to 96 bytes, 8 byte aligned
should be enough for just about forever.
CVS patchset: 124
CVS date: 1996/01/05 02:10:08
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmlead.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rpmlead.h b/lib/rpmlead.h index 98f5a7706..2b9cb6aa8 100644 --- a/lib/rpmlead.h +++ b/lib/rpmlead.h @@ -4,11 +4,16 @@ #define RPMLEAD_BINARY 0 #define RPMLEAD_SOURCE 1 +/* Signature types */ +#define RPMLEAD_SIGNONE 0 + #define RPMLEAD_MAGIC0 0xed #define RPMLEAD_MAGIC1 0xab #define RPMLEAD_MAGIC2 0xee #define RPMLEAD_MAGIC3 0xdb +#define RPMLEAD_SIZE 96 + struct rpmlead { char magic[4]; char major, minor; @@ -16,6 +21,8 @@ struct rpmlead { short archnum; char name[66]; short osnum; + short signature_type; + char reserved[16]; /* pads to 96 bytes -- 8 byte aligned! */ } ; #endif |