#include "system.h"
#include <rpmcli.h>
#include <rpmlua.h>
#include <fs.h>
#include <fts.h>
#include <mire.h>
#include "debug.h"
Include dependency graph for poptALL.c:
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 | |
const char * | program_name |
static int | _debug = 0 |
int | _rsegfault |
int | _wsegfault |
int | _rpmds_nopromote |
int | _cpio_debug |
int | _fps_debug |
int | _fsm_debug |
int | _fsm_threads |
int | _hdr_debug |
int | _mire_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 | _rpmgi_debug |
int | _rpmps_debug |
int | _rpmsq_debug |
int | _rpmsx_debug |
int | _rpmte_debug |
int | _rpmts_debug |
int | _rpmts_stats |
int | _tar_debug |
int | noLibio |
const char * | rpmcliPipeOutput = NULL |
const char * | rpmcliRcfile = NULL |
const char * | rpmcliRootDir = "/" |
rpmQueryFlags | rpmcliQueryFlags |
Bit(s) from common command line options. | |
const char * | rpmcliTargets = NULL |
int | _ftp_debug |
int | _av_debug |
int | _dav_debug |
int | _rpmio_debug |
static int | rpmcliInitialized = -1 |
int | ftsOpts = 0 |
poptOption | rpmcliFtsPoptTable [] |
int | global_depFlags = (RPMDEPS_FLAG_NOLINKTOS|RPMDEPS_FLAG_NOPARENTDIRS) |
poptOption | rpmcliDepFlagsPoptTable [] |
poptOption | rpmcliAllPoptTable [] |
Popt option table for options shared by all modes and executables. |
Definition in file poptALL.c.
|
Definition at line 20 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 19 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 18 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Definition at line 17 of file poptALL.c. Referenced by rpmcliAllArgCallback(). |
|
Display rpm version.
|
|
|
Make sure that rpm configuration has been read.
Definition at line 155 of file poptALL.c. References _free(), EXIT_FAILURE, rpmcliInitialized, rpmcliRcfile, rpmcliTargets, rpmReadConfigFiles(), and xstrdup(). Referenced by main(), rpmcliAllArgCallback(), and rpmcliInit(). |
|
Destroy most everything needed by an rpm CLI executable context.
Definition at line 483 of file poptALL.c. References _free(), headerTagIndices_s::byName, headerTagIndices_s::byValue, rpmCLIMacroContext, rpmcliTargets, rpmFreeFilesystems(), rpmFreeMacros(), rpmFreeRpmrc(), rpmlogClose(), rpmTags, and urlFreeCache(). Referenced by main(), and rpmcliAllArgCallback(). |
|
Initialize most everything needed by an rpm CLI executable context.
Definition at line 513 of file poptALL.c. References _, __progname, _debug, bindtextdomain, EXIT_FAILURE, LIBRPMALIAS_FILENAME, LOCALEDIR, PACKAGE, rpmcliConfigured(), rpmIncreaseVerbosity, RPMMESS_NORMAL, rpmSetVerbosity, setlocale, setprogname, textdomain, and USRLIBRPM. Referenced by main(). |
|
|
|
Definition at line 24 of file cpio.c. Referenced by cpioHeaderRead(), and cpioHeaderWrite(). |
|
|
|
Definition at line 29 of file poptALL.c. Referenced by db3associate(), db3cclose(), db3ccount(), db3cdel(), db3cdup(), db3cget(), db3close(), db3copen(), db3cpget(), db3cput(), db3join(), db3open(), db3stat(), db3sync(), db_fini(), db_init(), pgpHexSet(), pgpPrtPubkeyParams(), pgpPrtSig(), pgpPrtSigParams(), and rpmcliInit(). |
|
Definition at line 302 of file transaction.c. |
|
|
|
Definition at line 43 of file fsm.c. Referenced by fsmNext(). |
|
Definition at line 157 of file rpmio.c. Referenced by checkResponse(), ftpCommand(), ftpLstat(), ftpOpendir(), ftpReadlink(), ftpReq(), ftpStat(), and tcpConnect(). |
|
|
|
|
|
Definition at line 27 of file rpmchecksig.c. |
|
Definition at line 40 of file psm.c. Referenced by XrpmpsmLink(), and XrpmpsmUnlink(). |
|
Definition at line 42 of file psm.c. Referenced by rpmpsmNext(). |
|
Definition at line 19 of file rpmal.c. Referenced by fieCompare(), rpmal_Debug(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), and rpmalDel(). |
|
Definition at line 35 of file rpmdb.c. Referenced by dbiOpen(), rpmdbNew(), XrpmdbLink(), and XrpmdbUnlink(). |
|
Definition at line 104 of file rpmds.c. Referenced by rpmds_alloc(), rpmds_Debug(), rpmds_free(), rpmds_init(), and rpmds_new(). |
|
Definition at line 107 of file rpmds.c. Referenced by checkPackageSet(), ensureOlder(), rpmtsAddInstallElement(), setEpochPromote(), and unsatisfiedDepend(). |
|
Definition at line 79 of file poptALL.c. Referenced by main(), rpmdepPrint(), rpmfcGenerateDepends(), and rpmfcMergePR(). |
|
Definition at line 36 of file rpmfi.c. Referenced by rpmfi_alloc(), rpmfi_Debug(), rpmfi_free(), rpmfi_init(), rpmfi_new(), rpmfiFree(), rpmfiNew(), rpmfiNext(), rpmfiNextD(), XrpmfiLink(), and XrpmfiUnlink(). |
|
Definition at line 28 of file rpmgi.c. Referenced by rpmgiInitFilter(), rpmgiNext(), rpmgiWalkPathFilter(), XrpmgiLink(), and XrpmgiUnlink(). |
|
Definition at line 147 of file rpmio.c. Referenced by Access(), Chmod(), Chown(), Chroot(), Closedir(), fdFgets(), Fdopen(), fdWritable(), Fopen(), Glob(), Globfree(), Lchown(), Link(), Lseek(), Lstat(), lzdClose(), Mkfifo(), Mknod(), Open(), Opendir(), Readdir(), Rename(), rpmioAccess(), Stat(), Symlink(), ufdOpen(), ufdRead(), ufdWrite(), Utime(), and Utimes(). |
|
Definition at line 19 of file rpmps.c. Referenced by rpmps_alloc(), rpmps_ass_sub(), rpmps_dealloc(), rpmps_Debug(), rpmps_free(), rpmps_getattro(), rpmps_init(), rpmps_iter(), rpmps_iternext(), rpmps_length(), rpmps_new(), rpmps_print(), rpmps_setattro(), rpmps_subscript(), XrpmpsLink(), and XrpmpsUnlink(). |
|
|
|
Definition at line 17 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 73 of file rpmts.c. Referenced by rpmtsFree(), and setStats(). |
|
|
|
Definition at line 21 of file tar.c. Referenced by tarHeaderRead(), tarHeaderWrite(), tarHeaderWriteBlock(), tarHeaderWriteName(), and tarTrailerWrite(). |
|
|
|
Definition at line 280 of file poptALL.c. Referenced by rpmcliArgIter(). |
|
Definition at line 304 of file poptALL.c. Referenced by main(). |
|
Definition at line 136 of file poptALL.c. Referenced by Fclose(), Fdopen(), and ufdClose(). |
|
|
|
|
|
Initial value: { { "comfollow", '\0', POPT_BIT_SET, &ftsOpts, FTS_COMFOLLOW, "FTS_COMFOLLOW: follow command line symlinks" , NULL }, { "logical", '\0', POPT_BIT_SET, &ftsOpts, FTS_LOGICAL, "FTS_LOGICAL: logical walk" , NULL }, { "nochdir", '\0', POPT_BIT_SET, &ftsOpts, FTS_NOCHDIR, "FTS_NOCHDIR: don't change directories" , NULL }, { "nostat", '\0', POPT_BIT_SET, &ftsOpts, FTS_NOSTAT, "FTS_NOSTAT: don't get stat info" , NULL }, { "physical", '\0', POPT_BIT_SET, &ftsOpts, FTS_PHYSICAL, "FTS_PHYSICAL: physical walk" , NULL }, { "seedot", '\0', POPT_BIT_SET, &ftsOpts, FTS_SEEDOT, "FTS_SEEDOT: return dot and dot-dot" , NULL }, { "xdev", '\0', POPT_BIT_SET, &ftsOpts, FTS_XDEV, "FTS_XDEV: don't cross devices" , NULL }, { "whiteout", '\0', POPT_BIT_SET, &ftsOpts, FTS_WHITEOUT, "FTS_WHITEOUT: return whiteout information" , NULL }, POPT_TABLEEND } |
|
Definition at line 143 of file poptALL.c. Referenced by rpmcliAllArgCallback(), and rpmcliConfigured(). |
|
Definition at line 113 of file poptALL.c. Referenced by main(). |
|
Definition at line 116 of file poptALL.c. Referenced by main(), rpmcliConfigured(), rpmRebuildTargetVars(), rpmShowRC(), and rpmspecQuery(). |
|
Definition at line 119 of file poptALL.c. Referenced by main(). |
|
Definition at line 125 of file poptALL.c. Referenced by build(), rpmcliAllArgCallback(), rpmcliConfigured(), rpmcliFini(), and rpmspecQuery(). |