#include "system.h"#include <rpmcli.h>#include "rpmdb.h"#include "rpmte.h"#include "rpmts.h"#include "manifest.h"#include "misc.h"#include "rpmgi.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 | |
| static void | printHash (const unsigned long long amount, const unsigned long long total) |
| Print a CLI progress bar. | |
| void * | rpmShowProgress (const void *arg, const rpmCallbackType what, const unsigned long long amount, const unsigned long long total, fnpyKey key, void *data) |
| The rpm CLI generic transaction callback handler. | |
| int | rpmInstall (rpmts ts, QVA_t ia, const char **fileArgv) |
| Install/upgrade/freshen binary rpm package. | |
| int | rpmErase (rpmts ts, QVA_t ia, const char **argv) |
| Erase binary rpm package. | |
| int | rpmInstallSource (rpmts ts, const char *arg, const char **specFilePtr, const char **cookie) |
| Install source rpm package. | |
Variables | |
| int | rpmcliPackagesTotal = 0 |
| int | rpmcliHashesCurrent = 0 |
| int | rpmcliHashesTotal = 0 |
| unsigned long long | rpmcliProgressCurrent = 0 |
| unsigned long long | rpmcliProgressTotal = 0 |
Definition in file rpminstall.c.
| #define _RPMTS_INTERNAL |
Definition at line 15 of file rpminstall.c.
| typedef const char* str_t |
Definition at line 264 of file rpminstall.c.
| static void printHash | ( | const unsigned long long | amount, | |
| const unsigned long long | total | |||
| ) | [static] |
Print a CLI progress bar.
| amount | current | |
| total | final |
Definition at line 42 of file rpminstall.c.
References rpmcliHashesCurrent, rpmcliHashesTotal, rpmcliProgressCurrent, and rpmcliProgressTotal.
Referenced by rpmShowProgress().
| int rpmcliHashesCurrent = 0 |
| int rpmcliHashesTotal = 0 |
| int rpmcliPackagesTotal = 0 |
Definition at line 26 of file rpminstall.c.
Referenced by rpmInstall(), rpmRollback(), rpmShowProgress(), and rpmtsAddInstallElement().
| unsigned long long rpmcliProgressCurrent = 0 |
| unsigned long long rpmcliProgressTotal = 0 |
1.5.7.1