moved struct rpmTagTableEntry to header.h (and renamed it)
authorewt <devnull@localhost>
Wed, 22 Jan 1997 20:42:36 +0000 (20:42 +0000)
committerewt <devnull@localhost>
Wed, 22 Jan 1997 20:42:36 +0000 (20:42 +0000)
CVS patchset: 1337
CVS date: 1997/01/22 20:42:36

lib/rpmlib.h

index 1331ec3..36b0406 100644 (file)
@@ -9,11 +9,6 @@
 #include "dbindex.h"
 #include "header.h"
 
-struct rpmTagTableEntry {
-    char * name;
-    int val;
-};
-
 int rpmReadPackageInfo(int fd, Header * signatures, Header * hdr);
 int rpmReadPackageHeader(int fd, Header * hdr, int * isSource, int * major,
                         int * minor);
@@ -21,7 +16,7 @@ int rpmReadPackageHeader(int fd, Header * hdr, int * isSource, int * major,
    /* 1 = bad magic */
    /* 2 = error */
 
-extern const struct rpmTagTableEntry rpmTagTable[];
+extern const struct headerTagTableEntry rpmTagTable[];
 extern const int rpmTagTableSize;
 
 /* these tags are for both the database and packages */