rpmqv.c(3)

NAME
rpmqv.c -

SYNOPSIS

#include 'system.h'
#include <rpmcli.h>
#include <rpmbuild.h>
#include 'debug.h'

  Defines
#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)

  Enumerations
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 }

  Functions
void argerror (const char *desc)
void printVersion (void)
void printBanner (void)
void printUsage (void)
int main (int argc, const char **argv, char **envp)

  Variables
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 []

DEFINE DOCUMENTATION

  #define _AUTOHELP

Definition at line 3 of file rpmqv.c.

  #define GETOPT_DBPATH 1010

Definition at line 33 of file rpmqv.c.

  #define GETOPT_DEFINEMACRO 1020

Definition at line 35 of file rpmqv.c.

Referenced by main.

  #define GETOPT_EVALMACRO 1021

Definition at line 36 of file rpmqv.c.

Referenced by main.

  #define GETOPT_SHOWRC 1018

Definition at line 34 of file rpmqv.c.

  #define MODES_BT (MODE_BUILD | MODE_TARBUILD | MODE_REBUILD | MODE_RECOMPILE)

  #define MODES_DB (MODE_INITDB | MODE_REBUILDDB | MODE_VERIFYDB)

  #define MODES_FOR_DBPATH (MODES_BT | MODES_IE | MODES_QV | MODES_DB)

Definition at line 71 of file rpmqv.c.

Referenced by main.

  #define MODES_FOR_NODEPS (MODES_BT | MODES_IE | MODE_VERIFY)

Definition at line 72 of file rpmqv.c.

Referenced by main.

  #define MODES_FOR_ROOT (MODES_BT | MODES_IE | MODES_QV | MODES_DB)

Definition at line 74 of file rpmqv.c.

Referenced by main.

  #define MODES_FOR_TEST (MODES_BT | MODES_IE)

Definition at line 73 of file rpmqv.c.

Referenced by main.

  #define MODES_IE (MODE_INSTALL | MODE_ERASE)

  #define MODES_K (MODE_CHECKSIG | MODE_RESIGN)

  #define MODES_QV (MODE_QUERY | MODE_VERIFY)

  #define POPT_FORCE 1026

Definition at line 17 of file rpmqv.c.

Referenced by main.

  #define POPT_NODEPS 1025

Definition at line 16 of file rpmqv.c.

Referenced by main.

  #define POPT_NOMD5 1027

Definition at line 18 of file rpmqv.c.

Referenced by main.

  #define POPT_NOSCRIPTS 1028

Definition at line 19 of file rpmqv.c.

Referenced by main.

ENUMERATION TYPE DOCUMENTATION

  enum modes

Enumeration values:

MODE_QUERY

MODE_VERIFY

MODE_QUERYTAGS

MODE_INSTALL

MODE_ERASE

MODE_BUILD

MODE_REBUILD

MODE_RECOMPILE

MODE_TARBUILD

MODE_CHECKSIG

MODE_RESIGN

MODE_INITDB

MODE_REBUILDDB

MODE_VERIFYDB

MODE_UNKNOWN

Definition at line 41 of file rpmqv.c.

Referenced by main.

FUNCTION DOCUMENTATION

  void argerror (const char * desc) [static]

Definition at line 220 of file rpmqv.c.

References _, __progname, and EXIT_FAILURE.

  int main (int argc, const char ** argv, char ** envp)

Definition at line 284 of file rpmqv.c.

References _, __progname, _free, _ftp_debug, _noTransScripts, _noTransTriggers, _rpmio_debug, _url_debug, argerror, bindtextdomain, build, environ, EXIT_FAILURE, freeFilesystems, freeNames, GETOPT_DEFINEMACRO, GETOPT_EVALMACRO, help, 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, noLibio, noUsageMsg, optionsTable, PACKAGE, pipeOutput, POPT_FORCE, POPT_NODEPS, POPT_NOMD5, POPT_NOSCRIPTS, poptBadOption, poptFreeContext, poptGetArg, poptGetArgs, poptGetContext, poptGetNextOpt, poptGetOptArg, poptPeekArg, poptReadConfigFile, poptReadDefaultConfig, poptResetContext, poptSetExecPath, poptStrerror, poptStuffArgs, printUsage, printVersion, rcfile, RMIL_CMDLINE, rootdir, rpmBTArgs, RPMBUILD_BUILD, RPMBUILD_CLEAN, RPMBUILD_FILECHECK, RPMBUILD_INSTALL, RPMBUILD_PACKAGEBINARY, RPMBUILD_PACKAGESOURCE, RPMBUILD_PREP, RPMBUILD_RMBUILD, RPMBUILD_RMSOURCE, RPMBUILD_RMSPEC, rpmCheckSig, RPMCONFIGDIR, rpmDBArgs, rpmdbInit, rpmdbRebuild, rpmdbVerify, rpmDefineMacro, rpmDetectPGPVersion, rpmDisplayQueryTags, rpmErase, rpmExpand, rpmExpandNumeric, RPMFILE_ALL, rpmFreeMacros, rpmFreeRpmrc, rpmGetPassPhrase, rpmIArgs, rpmInstall, rpmInstallSource, rpmKArgs, RPMLOOKUPSIG_DISABLE, RPMLOOKUPSIG_QUERY, rpmLookupSignatureType, 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, rpmQVArgs, rpmReadConfigFiles, rpmReSign, rpmRollback, rpmShowRC, RPMTRANS_FLAG_ALLFILES, RPMTRANS_FLAG_JUSTDB, RPMTRANS_FLAG_NODOCS, RPMTRANS_FLAG_NOMD5, RPMTRANS_FLAG_NONE, RPMTRANS_FLAG_NOSCRIPTS, RPMTRANS_FLAG_NOTRIGGERS, RPMTRANS_FLAG_TEST, setlocale, setprogname, showVersion, textdomain, URL_IS_UNKNOWN, urlFreeCache, urlIsURL, xmalloc, xrealloc, and xstrdup.

  void printBanner (void) [static]

Definition at line 235 of file rpmqv.c.

References _.

Referenced by printUsage.

  void printUsage (void) [static]

Definition at line 243 of file rpmqv.c.

References _, __progname, printBanner, printVersion, and table.

Referenced by main.

  void printVersion (void) [static]

Definition at line 228 of file rpmqv.c.

References _.

Referenced by main, and printUsage.

VARIABLE DOCUMENTATION

  int _ftp_debug

Definition at line 78 of file rpmqv.c.

Referenced by main.

  int _rpmio_debug

Definition at line 82 of file rpmqv.c.

Referenced by main.

  int _url_debug

Definition at line 85 of file rpmqv.c.

Referenced by main.

  int help = 0 [static]

Definition at line 93 of file rpmqv.c.

Referenced by main.

  int noLibio

Definition at line 80 of file rpmqv.c.

Referenced by main.

  int noUsageMsg = 0 [static]

Definition at line 95 of file rpmqv.c.

Referenced by main.

  struct poptOption optionsTable[] [static]

Definition at line 162 of file rpmqv.c.

Referenced by main.

  const char* pipeOutput = NULL [static]

Definition at line 97 of file rpmqv.c.

Referenced by main.

  int quiet = 0 [static]

Definition at line 99 of file rpmqv.c.

  const char* rcfile = NULL [static]

Definition at line 101 of file rpmqv.c.

Referenced by main.

  char* rootdir = '/' [static]

Definition at line 103 of file rpmqv.c.

Referenced by main.

  struct poptOption rpmAllPoptTable[] [static]

Definition at line 110 of file rpmqv.c.

  int showrc = 0 [static]

Definition at line 105 of file rpmqv.c.

  int showVersion = 0 [static]

Definition at line 107 of file rpmqv.c.

Referenced by main.

AUTHOR

Generated automatically by Doxygen for rpm from the source code.