diff options
Diffstat (limited to 'lib/rpmcli.h')
-rw-r--r-- | lib/rpmcli.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/rpmcli.h b/lib/rpmcli.h index cdb1f8ab4..7a88f8791 100644 --- a/lib/rpmcli.h +++ b/lib/rpmcli.h @@ -3,6 +3,8 @@ /** \ingroup rpmcli rpmbuild * \file lib/rpmcli.h + * + * Parsing RPM command line arguments */ #include <popt.h> @@ -67,6 +69,8 @@ rpmcliFini(poptContext optCon); #define RPMCLI_POPT_NODIGEST -1030 #define RPMCLI_POPT_NOHDRCHK -1031 #define RPMCLI_POPT_NOCONTEXTS -1032 +#define RPMCLI_POPT_NOCAPS -1033 +#define RPMCLI_POPT_TARGETPLATFORM -1034 /* ==================================================================== */ /** \name RPMQV */ @@ -91,6 +95,11 @@ enum rpmQVSources_e { RPMQV_HDRID, /*!< ... from header id (immutable header SHA1). */ RPMQV_TID, /*!< ... from install transaction id (time stamp). */ RPMQV_SPECSRPM, /*!< ... from spec file source (query only). */ + RPMQV_WHATRECOMMENDS, /*!< ... from recommends db search. */ + RPMQV_WHATSUGGESTS, /*!< ... from suggests db search. */ + RPMQV_WHATSUPPLEMENTS, /*!< ... from supplements db search. */ + RPMQV_WHATENHANCES, /*!< ... from enhances db search. */ + RPMQV_SPECBUILTRPMS, /*!< ... from pkgs which would be built from spec */ }; typedef rpmFlags rpmQVSources; @@ -124,7 +133,8 @@ enum rpmQueryFlags_e { QUERY_FOR_DOCS = (1 << 25), /*!< query: from --docfiles */ QUERY_FOR_CONFIG = (1 << 26), /*!< query: from --configfiles */ QUERY_FOR_DUMPFILES = (1 << 27), /*!< query: from --dump */ - QUERY_FOR_LICENSE = (1 << 28) /*!< query: from --licensefiles */ + QUERY_FOR_LICENSE = (1 << 28), /*!< query: from --licensefiles */ + QUERY_FOR_ARTIFACT = (1 << 29), /*!< query: from --artifacts */ }; typedef rpmFlags rpmQueryFlags; @@ -282,7 +292,8 @@ enum rpmInstallFlags_e { INSTALL_FRESHEN = (1 << 6), /*!< from --freshen */ INSTALL_INSTALL = (1 << 7), /*!< from --install */ INSTALL_ERASE = (1 << 8), /*!< from --erase */ - INSTALL_ALLMATCHES = (1 << 9) /*!< from --allmatches */ + INSTALL_ALLMATCHES = (1 << 9), /*!< from --allmatches */ + INSTALL_REINSTALL = (1 << 10), /*!< from --reinstall */ }; typedef rpmFlags rpmInstallFlags; @@ -343,7 +354,7 @@ struct rpmInstallArguments_s { }; /** \ingroup rpmcli - * Install/upgrade/freshen binary rpm package. + * Install/upgrade/freshen/reinstall binary rpm package. * @param ts transaction set * @param ia mode flags and parameters * @param fileArgv array of package file names (NULL terminated) |