#include "system.h"
#include <rpmcli.h>
#include "rpmdb.h"
#include "rpmds.h"
#include "rpmts.h"
#include "manifest.h"
#include "misc.h"
#include "debug.h"
Go to the source code of this file.
Data Structures | |
struct | rpmEIU |
Defines | |
#define | _RPMTS_INTERNAL |
Typedefs | |
typedef const char * | str_t |
Functions | |
void | printHash (const unsigned long amount, const unsigned long total) |
Print a CLI progress bar. More... | |
void * | rpmShowProgress (const void *arg, const rpmCallbackType what, const unsigned long amount, const unsigned long total, fnpyKey key, void *data) |
int | rpmInstall (rpmts ts, struct rpmInstallArguments_s *ia, const char **fileArgv) |
int | rpmErase (rpmts ts, const struct rpmInstallArguments_s *ia, const char **argv) |
int | rpmInstallSource (rpmts ts, const char *arg, const char **specFilePtr, const char **cookie) |
int | IDTintcmp (const void *a, const void *b) |
IDTX | IDTXfree (IDTX idtx) |
IDTX | IDTXnew (void) |
IDTX | IDTXgrow (IDTX idtx, int need) |
IDTX | IDTXsort (IDTX idtx) |
IDTX | IDTXload (rpmts ts, rpmTag tag) |
IDTX | IDTXglob (rpmts ts, const char *globstr, rpmTag tag) |
int | rpmRollback (rpmts ts, struct rpmInstallArguments_s *ia, const char **argv) |
Variables | |
int | rpmcliPackagesTotal = 0 |
int | rpmcliHashesCurrent = 0 |
int | rpmcliHashesTotal = 0 |
int | rpmcliProgressCurrent = 0 |
int | rpmcliProgressTotal = 0 |
int | reverse = -1 |
Definition in file rpminstall.c.
|
Definition at line 12 of file rpminstall.c. |
|
Definition at line 251 of file rpminstall.c. |
|
Definition at line 871 of file rpminstall.c. References reverse. Referenced by IDTXsort. |
|
Definition at line 879 of file rpminstall.c. References _free, and headerFree. Referenced by rpmRollback, rpmts_IDTXglob, and rpmts_IDTXload. |
|
Definition at line 971 of file rpminstall.c. References _, _free, Fclose, Ferror, Fopen, Fstrerror, headerFree, headerIsEntry, headerLink, HGE_t, IDTXgrow, int_32, rpmGlob, rpmRC, RPMRC_NOKEY, RPMRC_NOTTRUSTED, RPMRC_OK, rpmReadPackageFile, rpmTag, RPMTAG_SOURCEPACKAGE, rpmTagType, and rpmts. Referenced by rpmRollback, and rpmts_IDTXglob. |
|
Definition at line 903 of file rpminstall.c. |
|
Definition at line 927 of file rpminstall.c. References headerLink, HGE_t, IDTXgrow, IDTXsort, int_32, RPM_INT32_TYPE, RPM_NULL_TYPE, rpmdbFreeIterator, rpmdbGetIteratorOffset, rpmdbNextIterator, rpmTag, rpmTagType, rpmts, and rpmtsInitIterator. Referenced by rpmRollback, and rpmts_IDTXload. |
|
Definition at line 895 of file rpminstall.c. References xcalloc. Referenced by IDTXgrow. |
|
Definition at line 920 of file rpminstall.c. References IDTintcmp. Referenced by IDTXload. |
|
Print a CLI progress bar.
Definition at line 44 of file rpminstall.c. References rpmcliHashesCurrent, rpmcliHashesTotal, rpmcliProgressCurrent, and rpmcliProgressTotal. Referenced by rpmShowProgress. |
|
Definition at line 726 of file rpminstall.c. References _, _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, rpmdbFreeIterator, rpmdbGetIteratorCount, rpmdbGetIteratorOffset, RPMDBI_LABEL, rpmdbNextIterator, rpmExpandNumeric, rpmpsFree, rpmpsNumProblems, rpmpsPrint, rpmShowProgress, RPMTRANS_FLAG_REPACKAGE, RPMTRANS_FLAG_REVERSE, rpmts, rpmtsAddEraseElement, rpmtsCheck, rpmtsClean, rpmtsEmpty, rpmtsFlags, rpmtsInitIterator, rpmtsProblems, rpmtsRun, rpmtsSetFlags, rpmtsSetNotifyCallback, rpmtsSetVSFlags, RPMVSF_NOHDRCHK, and rpmVSFlags. Referenced by main. |
|
|
Definition at line 827 of file rpminstall.c. References _, _free, Fclose, Ferror, Fopen, Fstrerror, rpmInstallSourcePackage, rpmRC, RPMRC_OK, rpmts, rpmtsSetVSFlags, rpmtsVSFlags, RPMVSF_NEEDPAYLOAD, and rpmVSFlags. Referenced by main. |
|
Definition at line 1047 of file rpminstall.c. References _, _free, _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, headerFree, IDTXfree, IDTXglob, IDTXload, rpmcliPackagesTotal, rpmExpand, rpmExpandNumeric, RPMPROB_FILTER_OLDPACKAGE, rpmpsFree, rpmpsNumProblems, rpmpsPrint, rpmShowProgress, RPMTAG_INSTALLTID, RPMTAG_REMOVETID, RPMTRANS_FLAG_REVERSE, rpmtransFlags, rpmts, rpmtsAddEraseElement, rpmtsAddInstallElement, rpmtsCheck, rpmtsClean, rpmtsEmpty, rpmtsOrder, rpmtsProblems, rpmtsRun, rpmtsSetFlags, rpmtsSetNotifyCallback, rpmtsSetVSFlags, RPMVSF_NEEDPAYLOAD, and RPMVSF_NOHDRCHK. Referenced by main, and rpmts_Rollback. |
|
Definition at line 91 of file rpminstall.c. References _, _free, Fclose, fdFree, fdLink, Ferror, Fopen, Fstrerror, headerSprintf, printHash, rpmcliHashesCurrent, rpmcliPackagesTotal, rpmcliProgressCurrent, and rpmcliProgressTotal. Referenced by rpmErase, rpmInstall, and rpmRollback. |
|
Definition at line 867 of file rpminstall.c. Referenced by IDTintcmp. |
|
Definition at line 30 of file rpminstall.c. Referenced by printHash, and rpmShowProgress. |
|
Definition at line 32 of file rpminstall.c. Referenced by printHash. |
|
Definition at line 28 of file rpminstall.c. Referenced by rpmInstall, rpmRollback, rpmShowProgress, and rpmtsAddInstallElement. |
|
Definition at line 34 of file rpminstall.c. Referenced by printHash, and rpmShowProgress. |
|
Definition at line 36 of file rpminstall.c. Referenced by printHash, and rpmShowProgress. |