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:
3f1ada2
)
added sizeofHeader
author
ewt
<devnull@localhost>
Wed, 13 Dec 1995 20:13:06 +0000
(20:13 +0000)
committer
ewt
<devnull@localhost>
Wed, 13 Dec 1995 20:13:06 +0000
(20:13 +0000)
CVS patchset: 29
CVS date: 1995/12/13 20:13:06
lib/header.h
patch
|
blob
|
history
diff --git
a/lib/header.h
b/lib/header.h
index
5764e04
..
50e8c5c
100644
(file)
--- a/
lib/header.h
+++ b/
lib/header.h
@@
-31,6
+31,7
@@
typedef struct headerToken *Header;
Header readHeader(int fd);
Header mmapHeader(int fd, long offset);
void writeHeader(int fd, Header h);
+unsigned int sizeofHeader(Header h);
/* load and unload a header from a chunk of memory */
Header loadHeader(void *p);