summaryrefslogtreecommitdiff
path: root/lib/header.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-12 17:25:54 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-12 17:25:54 +0300
commit95386fe3318cc8cbd0dc240570dfae226afd6501 (patch)
tree32029af259c856a4b0b31fb457a0efd0813866ec /lib/header.h
parentfe3ba9991019dcf5de7f92577cfd04872fe7584d (diff)
downloadlibrpm-tizen-95386fe3318cc8cbd0dc240570dfae226afd6501.tar.gz
librpm-tizen-95386fe3318cc8cbd0dc240570dfae226afd6501.tar.bz2
librpm-tizen-95386fe3318cc8cbd0dc240570dfae226afd6501.zip
Push extension defaults one level deeper into headerFormat()
Diffstat (limited to 'lib/header.h')
-rw-r--r--lib/header.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/header.h b/lib/header.h
index 8ade39fc2..0f0dcfafc 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -23,7 +23,7 @@ extern "C" {
/** \ingroup header
* Associate tag names with numeric values.
*/
-typedef struct headerTagTableEntry_s * headerTagTableEntry;
+typedef const struct headerTagTableEntry_s * headerTagTableEntry;
struct headerTagTableEntry_s {
const char * name; /*!< Tag name. */
const char * shortname; /*!< "Human readable" short name. */
@@ -79,7 +79,7 @@ typedef int (*headerTagTagFunction) (Header h,
/** \ingroup header
* Define header tag output formats.
*/
-typedef struct headerSprintfExtension_s * headerSprintfExtension;
+typedef const struct headerSprintfExtension_s * headerSprintfExtension;
struct headerSprintfExtension_s {
enum headerSprintfExtensionType type; /*!< Type of extension. */
const char * name; /*!< Name of extension. */