summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmconstant/rpmconstant.h2
-rwxr-xr-xrpmconstant/rpmh2tbl27
2 files changed, 19 insertions, 10 deletions
diff --git a/rpmconstant/rpmconstant.h b/rpmconstant/rpmconstant.h
index 30f115e..5c01946 100644
--- a/rpmconstant/rpmconstant.h
+++ b/rpmconstant/rpmconstant.h
@@ -33,8 +33,10 @@
#include <rpm/rpmlog.h>
#include <rpm/rpmpgp.h>
#include <rpm/rpmps.h>
+#include <rpm/rpmtag.h>
#include <rpm/rpmte.h>
#include <rpm/rpmts.h>
+#include <rpm/rpmvf.h>
/**
* A constant pair name/value
diff --git a/rpmconstant/rpmh2tbl b/rpmconstant/rpmh2tbl
index 8efa9aa..35b0e18 100755
--- a/rpmconstant/rpmh2tbl
+++ b/rpmconstant/rpmh2tbl
@@ -33,17 +33,9 @@ my @availlabletables;
my %file_const = (
'rpmlib.h' => {
- '^(RPMDBI_[\w_]+)' => 'rpmdbi',
- '^(RPMRC_[\w_]+)' => 'rpmRC',
- '^(RPMFILE_[^(STATE_)][\w_]+)' => 'rpmfileAttrs',
- '^(RPMFILE_STATE_[\w_]+)' => 'rpmfileState',
'^(RPM_MACHTABLE_[\w_]+)' => 'rpm_machtable',
- '^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags',
- '^(FA_[\w_]+)' => 'fileAction',
- '^(PIPE|CDEV|XDIR|BDEV|REG|LINK|SOCK)$' => 'fileTypes',
'^(INSTALL_[\w_]+)' => 'rpmInstallInterfaceFlags',
'^(UNINSTALL_[\w_]+)' => 'rpmEraseInterfaceFlags',
- '^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature',
},
'header.h' => {
'^(HEADER_MAGIC_[\w_]+)' => 'hMagic',
@@ -54,7 +46,6 @@ my %file_const = (
},
'rpmcli.h' => {
'^(RPMSIGN_[\w_]+)' => 'rpmSignFlags',
- '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags',
},
'rpmdb.h' => {
'^(RPMMIRE_[\w_]+)' => 'rpmMireMode',
@@ -65,6 +56,12 @@ my %file_const = (
'rpmerr.h' => {
'^(RPMERR_[\w_]+)' => 'rpmerrCode',
},
+ 'rpmfi.h' => {
+ '^(RPMFILE_[^(STATE_)][\w_]+)' => 'rpmfileAttrs',
+ '^(RPMFILE_STATE_[\w_]+)' => 'rpmfileState',
+ '^(PIPE|CDEV|XDIR|BDEV|REG|LINK|SOCK)$' => 'fileTypes',
+ '^(FA_[\w_]+)' => 'fileAction',
+ },
'rpmlog.h' => {
'^(RPMLOG_(?!PRI$|MAKEPRI$|FAC$|MASK$|UPTO$)[\w_]+)' => 'rpmlog',
},
@@ -76,9 +73,13 @@ my %file_const = (
'^(RPMMESS_[\w_]+)' => 'rpmmess',
},
'rpmps.h' => {
- '^(RPMPROB_[\w_]+)' => 'rpmProblemType',
+ '^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags',
+ '^(RPMPROB_[^(FILTER_)][\w_]+)' => 'rpmProblemType',
+
},
'rpmtag.h' => {
+ '^(RPMDBI_[\w_]+)' => 'rpmdbi',
+ '^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature',
'^(RPMTAG_[\w_]+)' => 'rpmTag',
'^(RPM_[\w]+)_TYPE$' => 'rpmTagType',
},
@@ -91,6 +92,12 @@ my %file_const = (
'^(RPMTRANS_TYPE_[\w_]+)' => 'rpmtsType',
'^(RPMTS_OP_[\w_]+)' => 'rpmtsOpX',
},
+ 'rpmtypes.h' => {
+ '^(RPMRC_[\w_]+)' => 'rpmRC',
+ },
+ 'rpmvf.h' => {
+ '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags',
+ },
);
my %tableprefix = (