diff options
author | ewt <devnull@localhost> | 1998-12-26 16:33:51 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1998-12-26 16:33:51 +0000 |
commit | 29edbba1a83312f5509748b378af87763f9b5e41 (patch) | |
tree | 61fabc2d91e8c08c52e8d6da7381f3caec9eea69 /lib/header.h | |
parent | 0199cb5b0add417da4cb4241b4c8dd8070fc8400 (diff) | |
download | rpm-29edbba1a83312f5509748b378af87763f9b5e41.tar.gz rpm-29edbba1a83312f5509748b378af87763f9b5e41.tar.bz2 rpm-29edbba1a83312f5509748b378af87763f9b5e41.zip |
1) initial cut at hash tables
2) initial cut at file list handling during transaction processing
CVS patchset: 2611
CVS date: 1998/12/26 16:33:51
Diffstat (limited to 'lib/header.h')
-rw-r--r-- | lib/header.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/header.h b/lib/header.h index 4c3a03357..66aa3fd6f 100644 --- a/lib/header.h +++ b/lib/header.h @@ -135,6 +135,9 @@ int headerAddOrAppendEntry(Header h, int_32 tag, int_32 type, RPM_I18NSTRING_TYPE equivalent enreies are translated (if HEADER_I18NTABLE entry is present). */ int headerGetEntry(Header h, int_32 tag, int_32 *type, /*@out@*/void **p, int_32 *c); +/* This gets an entry, and uses as little extra RAM as possible to represent + it (this is only an issue for RPM_STRING_ARRAY_TYPE. */ +int headerGetEntryMinMemory(Header h, int_32 tag, int_32 *type, /*@out@*/void **p, int_32 *c); /* If *type is RPM_NULL_TYPE any type will match, otherwise only *type will match. */ |