From a49f40af8cf7b2bef6464eb9fcce73358fa6400b Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 27 Dec 1995 19:50:38 +0000 Subject: [PATCH] Initial revision CVS patchset: 104 CVS date: 1995/12/27 19:50:38 --- lib/rpmlead.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/rpmlead.h diff --git a/lib/rpmlead.h b/lib/rpmlead.h new file mode 100644 index 000000000..98f5a7706 --- /dev/null +++ b/lib/rpmlead.h @@ -0,0 +1,21 @@ +#ifndef _H_RPMLEAD +#define _H_RPMLEAD + +#define RPMLEAD_BINARY 0 +#define RPMLEAD_SOURCE 1 + +#define RPMLEAD_MAGIC0 0xed +#define RPMLEAD_MAGIC1 0xab +#define RPMLEAD_MAGIC2 0xee +#define RPMLEAD_MAGIC3 0xdb + +struct rpmlead { + char magic[4]; + char major, minor; + short type; + short archnum; + char name[66]; + short osnum; +} ; + +#endif