rpm
4.9.1.3
|
#include "system.h"
#include <rpm/rpmcli.h>
#include <rpm/rpmlib.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmps.h>
#include <rpm/rpmts.h>
#include "cliutils.h"
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | MODES_QV (MODE_QUERY | MODE_VERIFY) |
#define | MODES_IE (MODE_INSTALL | MODE_ERASE) |
#define | MODES_FOR_NODEPS (MODES_IE | MODE_VERIFY) |
#define | MODES_FOR_TEST (MODES_IE) |
Enumerations | |
enum | modes { MODE_BUILD = (1 << 4), MODE_REBUILD = (1 << 5), MODE_RECOMPILE = (1 << 8), MODE_TARBUILD = (1 << 11), MODE_INITDB = (1 << 0), MODE_REBUILDDB = (1 << 1), MODE_VERIFYDB = (1 << 2), MODE_CHECKSIG = (1 << 0), MODE_IMPORTKEY = (1 << 1), MODE_DELKEY = (1 << 2), MODE_LISTKEY = (1 << 3), MODE_QUERY = (1 << 0), MODE_VERIFY = (1 << 3), MODE_ADDSIGN = (1 << 0), MODE_RESIGN = (1 << 1), MODE_DELSIGN = (1 << 2), MODE_UNKNOWN = 0, MODE_QUERY = (1 << 0), MODE_PARSE = (1 << 1) } |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
const char * | program_name |
static int | quiet |
static struct poptOption | optionsTable [] |
#define MODES_FOR_NODEPS (MODES_IE | MODE_VERIFY) |
#define MODES_IE (MODE_INSTALL | MODE_ERASE) |
#define MODES_QV (MODE_QUERY | MODE_VERIFY) |
enum modes |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 72 of file rpmqv.c.
References MODE_UNKNOWN, rpmQVKArgs, rpmIArgs, rpmcliInit(), rstreq(), __progname, MODE_QUERY, MODE_VERIFY, rpmQVKArguments_s::qva_mode, MODES_QV, rpmQVKArguments_s::qva_sourceCount, argerror(), _, rpmQVKArguments_s::qva_flags, rpmQVKArguments_s::qva_queryFormat, rpmQVKArguments_s::qva_source, RPMQV_PACKAGE, MODES_IE, rpmInstallArguments_s::installInterfaceFlags, INSTALL_UPGRADE, INSTALL_FRESHEN, INSTALL_INSTALL, INSTALL_ERASE, rpmInstallArguments_s::probFilter, RPMPROB_FILTER_REPLACEPKG, RPMPROB_FILTER_OLDPACKAGE, RPMPROB_FILTER_FORCERELOCATE, rpmInstallArguments_s::relocations, rpmInstallArguments_s::prefix, INSTALL_HASH, INSTALL_PERCENT, rpmInstallArguments_s::transFlags, RPMTRANS_FLAG_NODOCS, rpmInstallArguments_s::incldocs, RPMPROB_FILTER_IGNOREARCH, RPMPROB_FILTER_IGNOREOS, RPMPROB_FILTER_DISKSPACE, RPMPROB_FILTER_DISKNODES, UNINSTALL_ALLMATCHES, RPMTRANS_FLAG_ALLFILES, RPMTRANS_FLAG_JUSTDB, RPMTRANS_FLAG_NOSCRIPTS, _noTransScripts, _noTransTriggers, RPMTRANS_FLAG_NOTRIGGERS, rpmInstallArguments_s::noDeps, MODES_FOR_NODEPS, RPMTRANS_FLAG_TEST, MODES_FOR_TEST, rpmcliRootDir, rpmSetVerbosity, RPMLOG_WARNING, rpmcliPipeOutput, initPipe(), rpmtsCreate(), rpmtsSetRootDir(), UNINSTALL_NODEPS, rpmErase(), rpmExpandNumeric(), INSTALL_NODEPS, xmalloc, rpmRelocation_s::oldPath, rpmRelocation_s::newPath, xrealloc, rpmInstallArguments_s::numRelocations, rpmInstall(), RPMQV_ALL, rpmcliQuery(), VERIFY_ALL, rpmcliVerify(), rpmIsVerbose, printUsage(), rpmtsFree(), finishPipe(), _free, rpmcliFini(), and RETVAL.
struct poptOption optionsTable[] [static] |
const char* program_name |