rpmqv.c -
#include 'system.h'
#include 'rpmcli.h'
#include 'rpmbuild.h'
#include 'debug.h'
#define _AUTOHELP
#define POPT_NODEPS 1025
#define POPT_FORCE 1026
#define POPT_NOMD5 1027
#define POPT_NOSCRIPTS 1028
#define GETOPT_DBPATH 1010
#define GETOPT_SHOWRC 1018
#define GETOPT_DEFINEMACRO 1020
#define GETOPT_EVALMACRO 1021
#define MODES_QV (MODE_QUERY | MODE_VERIFY)
#define MODES_IE (MODE_INSTALL | MODE_ERASE)
#define MODES_BT (MODE_BUILD | MODE_TARBUILD | MODE_REBUILD | MODE_RECOMPILE)
#define MODES_K (MODE_CHECKSIG | MODE_RESIGN)
#define MODES_DB (MODE_INITDB | MODE_REBUILDDB | MODE_VERIFYDB)
#define MODES_FOR_DBPATH (MODES_BT | MODES_IE | MODES_QV | MODES_DB)
#define MODES_FOR_NODEPS (MODES_BT | MODES_IE | MODE_VERIFY)
#define MODES_FOR_TEST (MODES_BT | MODES_IE)
#define MODES_FOR_ROOT (MODES_BT | MODES_IE | MODES_QV | MODES_DB)
enum modes { MODE_QUERY = (1 << 0), MODE_VERIFY = (1 << 3), MODE_QUERYTAGS = (1 << 9), MODE_INSTALL = (1 << 1), MODE_ERASE = (1 << 2), MODE_BUILD = (1 << 4), MODE_REBUILD = (1 << 5), MODE_RECOMPILE = (1 << 8), MODE_TARBUILD = (1 << 11), MODE_CHECKSIG = (1 << 6), MODE_RESIGN = (1 << 7), MODE_INITDB = (1 << 10), MODE_REBUILDDB = (1 << 12), MODE_VERIFYDB = (1 << 13), MODE_UNKNOWN = 0 }
void argerror (const char *desc)
void printVersion (void)
void printBanner (void)
void printUsage (void)
int main (int argc, const char **argv)
int _ftp_debug
int noLibio
int _rpmio_debug
int _url_debug
int help = 0
int noUsageMsg = 0
const char * pipeOutput = NULL
int quiet = 0
const char * rcfile = NULL
char * rootdir = '/'
int showrc = 0
int showVersion = 0
poptOption rpmAllPoptTable []
poptOption optionsTable []
Definition at line 3 of file rpmqv.c.
Definition at line 33 of file rpmqv.c.
Definition at line 35 of file rpmqv.c.
Definition at line 36 of file rpmqv.c.
Definition at line 34 of file rpmqv.c.
Definition at line 71 of file rpmqv.c.
Definition at line 72 of file rpmqv.c.
Definition at line 74 of file rpmqv.c.
Definition at line 73 of file rpmqv.c.
Definition at line 17 of file rpmqv.c.
Definition at line 16 of file rpmqv.c.
Definition at line 18 of file rpmqv.c.
Definition at line 19 of file rpmqv.c.
Enumeration values:
Definition at line 41 of file rpmqv.c.
Definition at line 220 of file rpmqv.c.
References _, __progname, and EXIT_FAILURE.
Definition at line 284 of file rpmqv.c.
References _, __progname, _free(), _ftp_debug, _noTransScripts, _noTransTriggers, _rpmio_debug, _url_debug, rpmSignArguments_s::addSign, argerror(), bindtextdomain, build(), rpmBuildArguments_s::buildAmount, rpmBuildArguments_s::buildChar, rpmBuildArguments_s::buildMode, rpmBuildArguments_s::buildRootOverride, CHECKSIG_ALL, CHECKSIG_MD5, rpmSignArguments_s::checksigFlags, rpmInstallArguments_s::eraseInterfaceFlags, EXIT_FAILURE, rpmBuildArguments_s::force, freeFilesystems(), freeNames(), GETOPT_DEFINEMACRO, GETOPT_EVALMACRO, help, rpmInstallArguments_s::incldocs, rpmDatabaseArguments_s::init, INSTALL_ERASE, INSTALL_FRESHEN, INSTALL_HASH, INSTALL_INSTALL, INSTALL_NODEPS, INSTALL_NONE, INSTALL_PERCENT, INSTALL_UPGRADE, rpmInstallArguments_s::installInterfaceFlags, LIBRPMALIAS_FILENAME, LOCALEDIR, MODE_BUILD, MODE_CHECKSIG, MODE_ERASE, MODE_INITDB, MODE_INSTALL, MODE_QUERY, MODE_QUERYTAGS, MODE_REBUILD, MODE_REBUILDDB, MODE_RECOMPILE, MODE_RESIGN, MODE_TARBUILD, MODE_UNKNOWN, MODE_VERIFY, MODE_VERIFYDB, modes, MODES_FOR_DBPATH, MODES_FOR_NODEPS, MODES_FOR_ROOT, MODES_FOR_TEST, rpmRelocation_s::newPath, rpmBuildArguments_s::noDeps, rpmInstallArguments_s::noDeps, noLibio, noUsageMsg, rpmInstallArguments_s::numRelocations, rpmRelocation_s::oldPath, optionsTable, PACKAGE, pipeOutput, POPT_FORCE, POPT_NODEPS, POPT_NOMD5, POPT_NOSCRIPTS, rpmInstallArguments_s::prefix, printUsage(), printVersion(), rpmInstallArguments_s::probFilter, rpmQVArguments_s::qva_char, rpmQVArguments_s::qva_fflags, rpmQVArguments_s::qva_flags, rpmQVArguments_s::qva_mode, rpmQVArguments_s::qva_prefix, rpmQVArguments_s::qva_queryFormat, rpmQVArguments_s::qva_source, rpmQVArguments_s::qva_sourceCount, rpmInstallArguments_s::rbtid, rcfile, rpmDatabaseArguments_s::rebuild, rpmInstallArguments_s::relocations, RESIGN_ADD_SIGNATURE, RESIGN_CHK_SIGNATURE, RESIGN_NEW_SIGNATURE, RESIGN_NONE, RMIL_CMDLINE, rpmInstallArguments_s::rootdir, rpmBuildArguments_s::rootdir, rootdir, RPMBUILD_BUILD, RPMBUILD_CLEAN, RPMBUILD_FILECHECK, RPMBUILD_INSTALL, RPMBUILD_PACKAGEBINARY, RPMBUILD_PACKAGESOURCE, RPMBUILD_PREP, RPMBUILD_PREPROCESS, RPMBUILD_RMBUILD, RPMBUILD_RMSOURCE, RPMBUILD_RMSPEC, rpmCheckSig(), RPMCONFIGDIR, rpmdbInit(), rpmdbRebuild(), rpmdbVerify(), rpmDefineMacro(), rpmDetectPGPVersion(), rpmDisplayQueryTags(), rpmErase(), rpmExpand(), rpmExpandNumeric(), RPMFILE_ALL, rpmFreeMacros(), rpmFreeRpmrc(), rpmGetPassPhrase(), rpmIncreaseVerbosity, rpmInstall(), rpmInstallSource(), rpmIsVerbose, rpmlogClose(), RPMLOOKUPSIG_DISABLE, RPMLOOKUPSIG_QUERY, rpmLookupSignatureType(), RPMMESS_NORMAL, RPMMESS_QUIET, RPMPROB_FILTER_DISKNODES, RPMPROB_FILTER_DISKSPACE, RPMPROB_FILTER_FORCERELOCATE, RPMPROB_FILTER_IGNOREARCH, RPMPROB_FILTER_IGNOREOS, RPMPROB_FILTER_NONE, RPMPROB_FILTER_OLDPACKAGE, RPMPROB_FILTER_REPLACENEWFILES, RPMPROB_FILTER_REPLACEOLDFILES, RPMPROB_FILTER_REPLACEPKG, rpmQuery(), RPMQV_ALL, RPMQV_PACKAGE, rpmReadConfigFiles(), rpmReSign(), rpmRollback(), rpmSetVerbosity, rpmShowRC(), RPMSIGTAG_GPG, RPMSIGTAG_PGP, RPMSIGTAG_PGP5, RPMTRANS_FLAG_ALLFILES, RPMTRANS_FLAG_JUSTDB, RPMTRANS_FLAG_NODOCS, RPMTRANS_FLAG_NOMD5, RPMTRANS_FLAG_NONE, RPMTRANS_FLAG_NOSCRIPTS, RPMTRANS_FLAG_NOTRIGGERS, RPMTRANS_FLAG_TEST, rpmVerify(), rpmVerifyFlags, setlocale, setprogname, rpmBuildArguments_s::shortCircuit, showVersion, rpmSignArguments_s::sign, rpmBuildArguments_s::sign, rpmBuildArguments_s::targets, textdomain, rpmInstallArguments_s::transFlags, UNINSTALL_ALLMATCHES, UNINSTALL_NODEPS, UNINSTALL_NONE, URL_IS_UNKNOWN, urlFreeCache(), urlIsURL(), rpmDatabaseArguments_s::verify, VERIFY_ALL, VERIFY_DEPS, VERIFY_MD5, VERIFY_SCRIPT, xmalloc(), xrealloc(), and xstrdup().
Definition at line 235 of file rpmqv.c.
References _.
Definition at line 243 of file rpmqv.c.
References _, __progname, printBanner(), and printVersion().
Definition at line 228 of file rpmqv.c.
References _.
Referenced by main(), and printUsage().
Definition at line 78 of file rpmqv.c.
Referenced by httpResp(), and main().
Definition at line 82 of file rpmqv.c.
Definition at line 85 of file rpmqv.c.
Definition at line 93 of file rpmqv.c.
Definition at line 80 of file rpmqv.c.
Referenced by Fdopen(), main(), and ufdClose().
Definition at line 95 of file rpmqv.c.
Definition at line 162 of file rpmqv.c.
Definition at line 97 of file rpmqv.c.
Definition at line 99 of file rpmqv.c.
Definition at line 101 of file rpmqv.c.
Definition at line 103 of file rpmqv.c.
Definition at line 110 of file rpmqv.c.
Definition at line 105 of file rpmqv.c.
Definition at line 107 of file rpmqv.c.
Generated automatically by Doxygen for rpm from the source code.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |