Update rpmtd formats comments to match reality
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 30 Oct 2009 07:13:08 +0000 (09:13 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 30 Oct 2009 07:13:08 +0000 (09:13 +0200)
- we dont require exact int32 etc types, any numeric type works

lib/rpmtd.h

index 1bc515c..e83e60c 100644 (file)
@@ -202,18 +202,18 @@ typedef enum rpmtdFormats_e {
     RPMTD_FORMAT_ARMOR         = 1,    /* ascii armor format (bin types) */
     RPMTD_FORMAT_BASE64                = 2,    /* base64 encoding (bin types) */
     RPMTD_FORMAT_PGPSIG                = 3,    /* pgp/gpg signature (bin types) */
-    RPMTD_FORMAT_DEPFLAGS      = 4,    /* dependency flags (int32 types) */
-    RPMTD_FORMAT_FFLAGS                = 5,    /* file flags (int32 types) */
-    RPMTD_FORMAT_PERMS         = 6,    /* permission string (int32 types) */
-    RPMTD_FORMAT_TRIGGERTYPE   = 7,    /* trigger types */
+    RPMTD_FORMAT_DEPFLAGS      = 4,    /* dependency flags (int types) */
+    RPMTD_FORMAT_FFLAGS                = 5,    /* file flags (int types) */
+    RPMTD_FORMAT_PERMS         = 6,    /* permission string (int types) */
+    RPMTD_FORMAT_TRIGGERTYPE   = 7,    /* trigger types (int types) */
     RPMTD_FORMAT_XML           = 8,    /* xml format (any type) */
-    RPMTD_FORMAT_OCTAL         = 9,    /* octal format (int32 types) */
-    RPMTD_FORMAT_HEX           = 10,   /* hex format (int32 types) */
-    RPMTD_FORMAT_DATE          = 11,   /* date format (int32 types) */
-    RPMTD_FORMAT_DAY           = 12,   /* day format (int32 types) */
+    RPMTD_FORMAT_OCTAL         = 9,    /* octal format (int types) */
+    RPMTD_FORMAT_HEX           = 10,   /* hex format (int types) */
+    RPMTD_FORMAT_DATE          = 11,   /* date format (int types) */
+    RPMTD_FORMAT_DAY           = 12,   /* day format (int types) */
     RPMTD_FORMAT_SHESCAPE      = 13,   /* shell escaped (any type) */
     RPMTD_FORMAT_ARRAYSIZE     = 14,   /* size of contained array (any type) */
-    RPMTD_FORMAT_DEPTYPE       = 15,   /* dependency types (int32 types) */
+    RPMTD_FORMAT_DEPTYPE       = 15,   /* dependency types (int types) */
 } rpmtdFormats;
 
 /** \ingroup rpmtd