summaryrefslogtreecommitdiff
path: root/lib/header.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-11-18 21:41:05 +0000
committerjbj <devnull@localhost>1998-11-18 21:41:05 +0000
commit2578b7fc8451f06f83640b448bda098e295447cb (patch)
tree5e2aca0b793a070ee6db89e5aa2ddee3e68ccc5d /lib/header.h
parent9e52926682d6df396086c32c9c86a81212441775 (diff)
downloadlibrpm-tizen-2578b7fc8451f06f83640b448bda098e295447cb.tar.gz
librpm-tizen-2578b7fc8451f06f83640b448bda098e295447cb.tar.bz2
librpm-tizen-2578b7fc8451f06f83640b448bda098e295447cb.zip
implement abstract fd type almost everywhere.
CVS patchset: 2542 CVS date: 1998/11/18 21:41:05
Diffstat (limited to 'lib/header.h')
-rw-r--r--lib/header.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/header.h b/lib/header.h
index a1333236d..a8ceec50f 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -70,8 +70,8 @@ struct headerSprintfExtension {
extern const struct headerSprintfExtension headerDefaultFormats[];
/* read and write a header from a file */
-Header headerRead(int fd, int magicp);
-void headerWrite(int fd, Header h, int magicp);
+Header headerRead(FD_t fd, int magicp);
+void headerWrite(FD_t fd, Header h, int magicp);
Header headerGzRead(gzFile fd, int magicp);
void headerGzWrite(gzFile fd, Header h, int magicp);
unsigned int headerSizeof(Header h, int magicp);
@@ -161,6 +161,8 @@ void headerSetLangPath(Header h, char * lang);
Header headerCopy(Header h);
void headerSort(Header h);
+void headerCopyTags(Header headerFrom, Header headerTo, int *tagstocopy);
+
/* Entry Types */
#define RPM_MIN_TYPE 0