#include "system.h"
#include <rpmcli.h>
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | POPT_SHOWVERSION -999 |
#define | POPT_SHOWRC -998 |
#define | POPT_QUERYTAGS -997 |
#define | POPT_PREDEFINE -996 |
Functions | |
static void | printVersion (FILE *fp) |
Display rpm version. | |
void | rpmcliConfigured (void) |
Make sure that rpm configuration has been read. | |
static void | rpmcliAllArgCallback (poptContext con, enum poptCallbackReason reason, const struct poptOption *opt, const char *arg, const void *data) |
poptContext | rpmcliFini (poptContext optCon) |
Destroy most everything needed by an rpm CLI executable context. | |
poptContext | rpmcliInit (int argc, char *const argv[], struct poptOption *optionsTable) |
Initialize most everything needed by an rpm CLI executable context. | |
Variables | |
static int | _debug = 0 |
int | _rpmds_nopromote |
int | _fps_debug |
int | _fsm_debug |
int | _fsm_threads |
int | _hdr_debug |
int | _print_pkts |
int | _psm_debug |
int | _psm_threads |
int | _rpmal_debug |
int | _rpmdb_debug |
int | _rpmds_debug |
int | _rpmfc_debug |
int | _rpmfi_debug |
int | _rpmps_debug |
int | _rpmsq_debug |
int | _rpmsx_debug |
int | _rpmte_debug |
int | _rpmts_debug |
int | _rpmts_stats |
int | noLibio |
const char * | rpmcliPipeOutput = NULL |
const char * | rpmcliRcfile = NULL |
const char * | rpmcliRootDir = "/" |
rpmQueryFlags | rpmcliQueryFlags |
Bit(s) from common command line options. | |
int | _ftp_debug |
int | _rpmio_debug |
static int | rpmcliInitialized = -1 |
poptOption | rpmcliAllPoptTable [] |
Popt option table for options shared by all modes and executables. |
Definition in file poptALL.c.
|
Definition at line 15 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 14 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 13 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 12 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Display rpm version.
|
|
|
Make sure that rpm configuration has been read.
Definition at line 127 of file poptALL.c. References EXIT_FAILURE, rpmcliInitialized, rpmcliRcfile, and rpmReadConfigFiles(). Referenced by main(), rpmcliAllArgCallback(), and rpmcliInit(). |
|
Destroy most everything needed by an rpm CLI executable context.
Definition at line 337 of file poptALL.c. References poptFreeContext(). Referenced by main(). |
|
Initialize most everything needed by an rpm CLI executable context.
Definition at line 352 of file poptALL.c. References _, __progname, _debug, bindtextdomain, EXIT_FAILURE, LIBRPMALIAS_FILENAME, LOCALEDIR, PACKAGE, POPT_BADOPTION_NOALIAS, poptBadOption(), poptGetContext(), poptGetNextOpt(), poptGetOptArg(), poptReadConfigFile(), poptReadDefaultConfig(), poptSetExecPath(), poptStrerror(), rpmcliConfigured(), RPMCONFIGDIR, rpmIncreaseVerbosity, RPMMESS_NORMAL, rpmSetVerbosity, setlocale, setprogname, and textdomain. Referenced by main(). |
|
Definition at line 21 of file poptALL.c. Referenced by db3associate(), db3cclose(), db3ccount(), db3cdel(), db3cdup(), db3cget(), db3close(), db3copen(), db3cpget(), db3cput(), db3join(), db3open(), db3stat(), db3sync(), db_fini(), db_init(), ftsPrint(), pgpHexSet(), pgpPrtPubkeyParams(), pgpPrtSig(), pgpPrtSigParams(), rpmcliInit(), and rpmGenPath(). |
|
Definition at line 267 of file transaction.c. Referenced by findFps(), and fpsCompare(). |
|
|
|
Definition at line 42 of file fsm.c. Referenced by fsmNext(). |
|
Definition at line 111 of file rpmio.c. Referenced by checkResponse(), ftpClosedir(), ftpCommand(), ftpLstat(), ftpOpendir(), ftpReaddir(), ftpReadlink(), ftpReq(), ftpStat(), httpReq(), httpResp(), tcpConnect(), and ufdClose(). |
|
|
|
Definition at line 25 of file rpmchecksig.c. |
|
Definition at line 37 of file psm.c. Referenced by XrpmpsmLink(), and XrpmpsmUnlink(). |
|
Definition at line 39 of file psm.c. Referenced by rpmpsmNext(). |
|
Definition at line 18 of file rpmal.c. Referenced by rpmal_Debug(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), and rpmalDel(). |
|
Definition at line 49 of file rpmdb.c. Referenced by XrpmdbLink(), and XrpmdbUnlink(). |
|
Definition at line 20 of file rpmds.c. Referenced by archFilter(), rpmds_Debug(), rpmdsFilter(), rpmdsFree(), rpmdsNew(), rpmdsNext(), XrpmdsLink(), and XrpmdsUnlink(). |
|
Definition at line 23 of file rpmds.c. Referenced by checkPackageSet(), ensureOlder(), rpmdsNew(), rpmtsAddInstallElement(), setEpochPromote(), and unsatisfiedDepend(). |
|
Definition at line 59 of file poptALL.c. Referenced by main(), and rpmfcGenerateDepends(). |
|
Definition at line 33 of file rpmfi.c. Referenced by rpmfi_Debug(), rpmfiFree(), rpmfiNew(), rpmfiNext(), rpmfiNextD(), XrpmfiLink(), and XrpmfiUnlink(). |
|
Definition at line 116 of file rpmio.c. Referenced by Access(), Closedir(), fdFgets(), Fdopen(), fdWritable(), Fopen(), Glob(), Globfree(), Link(), Lstat(), Opendir(), Readdir(), Rename(), Stat(), ufdOpen(), ufdRead(), and ufdWrite(). |
|
Definition at line 18 of file rpmps.c. Referenced by XrpmpsLink(), and XrpmpsUnlink(). |
|
|
|
Definition at line 16 of file rpmsx.c. Referenced by rpmsxFree(), rpmsxNext(), XrpmsxLink(), and XrpmsxUnlink(). |
|
Definition at line 20 of file rpmte.c. Referenced by rpmte_Debug(), XrpmtsiFree(), and XrpmtsiInit(). |
|
|
Definition at line 69 of file rpmts.c. Referenced by rpmtsFree(), and setStats(). |
|
Definition at line 103 of file poptALL.c. Referenced by Fclose(), Fdopen(), and ufdClose(). |
|
Definition at line 110 of file poptALL.c. Referenced by rpmcliAllArgCallback(), and rpmcliConfigured(). |
|
Definition at line 87 of file poptALL.c. Referenced by main(). |
|
Definition at line 90 of file poptALL.c. Referenced by main(), and rpmcliConfigured(). |
|
Definition at line 93 of file poptALL.c. Referenced by main(). |