diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-05-12 17:08:12 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-05-12 17:08:12 +0300 |
commit | fe3ba9991019dcf5de7f92577cfd04872fe7584d (patch) | |
tree | e7b500b62665115364521eee0c1a3bc56528a82f /lib/header.h | |
parent | ecd8c6c44149b880e672accc416d593c551de72e (diff) | |
download | rpm-fe3ba9991019dcf5de7f92577cfd04872fe7584d.tar.gz rpm-fe3ba9991019dcf5de7f92577cfd04872fe7584d.tar.bz2 rpm-fe3ba9991019dcf5de7f92577cfd04872fe7584d.zip |
Simplify header extension handling
- remove the now unnecessary chaining to different extension tables
Diffstat (limited to 'lib/header.h')
-rw-r--r-- | lib/header.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/header.h b/lib/header.h index d9aa6d30c..8ade39fc2 100644 --- a/lib/header.h +++ b/lib/header.h @@ -40,7 +40,6 @@ typedef struct headerTagIndices_s * headerTagIndices; enum headerSprintfExtensionType { HEADER_EXT_LAST = 0, /*!< End of extension chain. */ HEADER_EXT_FORMAT, /*!< headerTagFormatFunction() extension */ - HEADER_EXT_MORE, /*!< Chain to next table. */ HEADER_EXT_TAG /*!< headerTagTagFunction() extension */ }; @@ -88,15 +87,9 @@ struct headerSprintfExtension_s { void * generic; /*!< Private extension. */ headerTagFormatFunction formatFunction; /*!< HEADER_EXT_TAG extension. */ headerTagTagFunction tagFunction; /*!< HEADER_EXT_FORMAT extension. */ - struct headerSprintfExtension_s * more; /*!< Chained table extension. */ } u; }; -/** \ingroup header - * Supported default header tag output formats. - */ -extern const struct headerSprintfExtension_s headerDefaultFormats[]; - /** \ingroup rpmtag * Automatically generated table of tag name/value pairs. */ @@ -113,7 +106,6 @@ extern headerTagIndices const rpmTags; /** \ingroup header * Table of query format extensions. - * @note Chains to headerDefaultFormats[]. */ extern const struct headerSprintfExtension_s rpmHeaderFormats[]; |