summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-06-24 13:17:08 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-06-24 14:38:20 +0300
commit122cf542d17d5041d44b15a7f02240ac7bffcdd1 (patch)
tree207bef510028c1cca6a42dbf396a0b6dcd9df327
parent520e9a17c5b72c78e08ebead278ba114a5340508 (diff)
downloadlibrpm-tizen-122cf542d17d5041d44b15a7f02240ac7bffcdd1.tar.gz
librpm-tizen-122cf542d17d5041d44b15a7f02240ac7bffcdd1.tar.bz2
librpm-tizen-122cf542d17d5041d44b15a7f02240ac7bffcdd1.zip
Move collections tag to "known free" number, document reserved tags
- missed during review, oh well..
-rw-r--r--lib/rpmtag.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rpmtag.h b/lib/rpmtag.h
index 2a8a9d6fa..3aaebfa40 100644
--- a/lib/rpmtag.h
+++ b/lib/rpmtag.h
@@ -28,6 +28,7 @@ extern "C" {
/** \ingroup rpmtag
* Tags identify data in package headers.
* @note tags should not have value 0!
+ * @note all new tags should be added above 5000
*/
/** @todo: Somehow supply type **/
typedef enum rpmTag_e {
@@ -265,7 +266,7 @@ typedef enum rpmTag_e {
RPMTAG_BUILDOBSOLETES = 1194, /* internal (unimplemented) */
RPMTAG_DBINSTANCE = 1195, /* i extension */
RPMTAG_NVRA = 1196, /* s extension */
- RPMTAG_COLLECTIONS = 1197, /* s[] list of collections */
+ /* tags 1997-4999 reserved */
RPMTAG_FILENAMES = 5000, /* s[] extension */
RPMTAG_FILEPROVIDE = 5001, /* s[] extension */
RPMTAG_FILEREQUIRE = 5002, /* s[] extension */
@@ -295,6 +296,7 @@ typedef enum rpmTag_e {
RPMTAG_VERIFYSCRIPTFLAGS = 5026, /* i */
RPMTAG_TRIGGERSCRIPTFLAGS = 5027, /* i[] */
RPMTAG_FILESTATUS = 5028, /* i[] extension */
+ RPMTAG_COLLECTIONS = 5029, /* s[] list of collections */
RPMTAG_FIRSTFREE_TAG /*!< internal */
} rpmTag;