diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-01-20 14:15:24 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-01-20 14:15:24 +0200 |
commit | 05f5c353242d0dfa70ef49918c73c92dec923920 (patch) | |
tree | 3fa779fa28e5486267cef8e09b9fd696fbc9eba5 /lib/header.h | |
parent | a46dd884ec348b3ce23b9f53302e6626a90ae631 (diff) | |
download | rpm-05f5c353242d0dfa70ef49918c73c92dec923920.tar.gz rpm-05f5c353242d0dfa70ef49918c73c92dec923920.tar.bz2 rpm-05f5c353242d0dfa70ef49918c73c92dec923920.zip |
Add headerGet() flag to request argv-style NULL-terminated string arrays
- easy to do and some places would like the data this way so why not...
- also add corresponding rpmtd flag so caller can verify he got what
was requested
Diffstat (limited to 'lib/header.h')
-rw-r--r-- | lib/header.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/header.h b/lib/header.h index 4f06c8f5f..afd25a913 100644 --- a/lib/header.h +++ b/lib/header.h @@ -160,6 +160,7 @@ typedef enum headerGetFlags_e { HEADERGET_EXT = (1 << 1), /* lookup extension types too */ HEADERGET_RAW = (1 << 2), /* return raw contents (no i18n lookups) */ HEADERGET_ALLOC = (1 << 3), /* always allocate memory for all data */ + HEADERGET_ARGV = (1 << 4), /* return string arrays NULL-terminated */ } headerGetFlags; /** \ingroup header |