projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29d08ea
)
Initial revision
author
ewt
<devnull@localhost>
Wed, 27 Dec 1995 19:50:38 +0000
(19:50 +0000)
committer
ewt
<devnull@localhost>
Wed, 27 Dec 1995 19:50:38 +0000
(19:50 +0000)
CVS patchset: 104
CVS date: 1995/12/27 19:50:38
lib/rpmlead.h
[new file with mode: 0644]
patch
|
blob
diff --git a/lib/rpmlead.h
b/lib/rpmlead.h
new file mode 100644
(file)
index 0000000..
98f5a77
--- /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