From: marc Date: Wed, 20 Dec 1995 22:48:08 +0000 (+0000) Subject: added freeIterator() copyHeader() isEntry() X-Git-Tag: tznext/4.11.0.1.tizen20130304~11889 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=849b058ec09ca01754d6e2d362843a09d319d0cf;p=tools%2Flibrpm-tizen.git added freeIterator() copyHeader() isEntry() CVS patchset: 71 CVS date: 1995/12/20 22:48:08 --- diff --git a/lib/header.h b/lib/header.h index 4f690fd..d6c200a 100644 --- a/lib/header.h +++ b/lib/header.h @@ -50,9 +50,14 @@ void dumpHeader(Header h, FILE *f, int flags); int getEntry(Header h, int_32 tag, int_32 *type, void **p, int_32 *c); int addEntry(Header h, int_32 tag, int_32 type, void *p, int_32 c); +int isEntry(Header h, int_32 tag); + HeaderIterator initIterator(Header h); int nextIterator(HeaderIterator iter, int_32 *tag, int_32 *type, void **p, int_32 *c); +void freeIterator(HeaderIterator iter); + +Header copyHeader(Header h); /* Entry Types */