summaryrefslogtreecommitdiff
path: root/lib/header.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-13 16:55:12 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-13 17:00:22 +0300
commitd8b28213ae4f9927e4f82e131aaad1dbcd5e7dd5 (patch)
treed2eeb38db254a2d7e0665b01ac0e4edde280e044 /lib/header.h
parentfb618299bb0709941b2a1ee0ac23f8e50b492c7b (diff)
downloadrpm-d8b28213ae4f9927e4f82e131aaad1dbcd5e7dd5.tar.gz
rpm-d8b28213ae4f9927e4f82e131aaad1dbcd5e7dd5.tar.bz2
rpm-d8b28213ae4f9927e4f82e131aaad1dbcd5e7dd5.zip
Deprecate headerGetEntry() and headerGetEntryMinMemory()
Diffstat (limited to 'lib/header.h')
-rw-r--r--lib/header.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/header.h b/lib/header.h
index 3188aa4a8..6ae8104fd 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -181,6 +181,7 @@ void * headerFreeTag(Header h, rpm_data_t data, rpmTagType type);
* Will never return RPM_I18NSTRING_TYPE! RPM_STRING_TYPE elements with
* RPM_I18NSTRING_TYPE equivalent entries are translated (if HEADER_I18NTABLE
* entry is present).
+ * @deprecated Use headerGet() instead
*
* @param h header
* @param tag tag
@@ -192,12 +193,13 @@ void * headerFreeTag(Header h, rpm_data_t data, rpmTagType type);
int headerGetEntry(Header h, rpmTag tag,
rpmTagType * type,
rpm_data_t * p,
- rpm_count_t * c);
+ rpm_count_t * c) RPM_GNUC_DEPRECATED;
/** \ingroup header
* Retrieve tag value using header internal array.
* Get an entry using as little extra RAM as possible to return the tag value.
* This is only an issue for RPM_STRING_ARRAY_TYPE.
+ * @deprecated Use headerGet() instead
*
* @param h header
* @param tag tag
@@ -209,7 +211,7 @@ int headerGetEntry(Header h, rpmTag tag,
int headerGetEntryMinMemory(Header h, rpmTag tag,
rpmTagType * type,
rpm_data_t * p,
- rpm_count_t * c);
+ rpm_count_t * c) RPM_GNUC_DEPRECATED;
typedef enum headerPutFlags_e {
HEADERPUT_DEFAULT = 0,