summaryrefslogtreecommitdiff
path: root/lib/header.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-16 16:07:41 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-16 16:07:41 +0300
commit696184533aa34b7ae29c5567e1255f00505d884f (patch)
tree0c6d71b001d153ea54bf79b4de0b664e2af442ee /lib/header.h
parent44bdb776b7d557941d377d0adfdedd2940546164 (diff)
downloadrpm-696184533aa34b7ae29c5567e1255f00505d884f.tar.gz
rpm-696184533aa34b7ae29c5567e1255f00505d884f.tar.bz2
rpm-696184533aa34b7ae29c5567e1255f00505d884f.zip
Eliminate the now unnecessary extension type fields
Diffstat (limited to 'lib/header.h')
-rw-r--r--lib/header.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/header.h b/lib/header.h
index e6cca0385..e74566c07 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -38,14 +38,6 @@ struct headerTagTableEntry_s {
typedef struct headerTagIndices_s * headerTagIndices;
/** \ingroup header
- */
-enum headerSprintfExtensionType {
- HEADER_EXT_LAST = 0, /*!< End of extension chain. */
- HEADER_EXT_FORMAT, /*!< headerTagFormatFunction() extension */
- HEADER_EXT_TAG /*!< headerTagTagFunction() extension */
-};
-
-/** \ingroup header
* HEADER_EXT_FORMAT format function prototype.
* This will only ever be passed RPM_INT32_TYPE or RPM_STRING_TYPE to
* help keep things simple.
@@ -76,7 +68,6 @@ typedef int (*headerTagTagFunction) (Header h, rpmtd td);
*/
typedef const struct headerSprintfExtension_s * headerSprintfExtension;
struct headerSprintfExtension_s {
- enum headerSprintfExtensionType type; /*!< Type of extension. */
const char * name; /*!< Name of extension. */
union {
void * generic; /*!< Private extension. */