#include "system.h"#include <rpmcli.h>#include "manifest.h"#include "misc.h"#include "debug.h"Go to the source code of this file.
Data Structures | |
| struct | rpmEIU |
Typedefs | |
| typedef const char * | str_t |
Functions | |
| static void | printHash (const unsigned long amount, const unsigned long total) |
| void * | rpmShowProgress (const void *arg, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, void *data) |
| The rpm CLI generic transaction callback. | |
| int | rpmInstall (const char *rootdir, const char **fileArgv, rpmtransFlags transFlags, rpmInstallInterfaceFlags interfaceFlags, rpmprobFilterFlags probFilter, rpmRelocation *relocations) |
| Install/upgrade/freshen binary rpm package. | |
| int | rpmErase (const char *rootdir, const char **argv, rpmtransFlags transFlags, rpmEraseInterfaceFlags interfaceFlags) |
| Erase binary rpm package. | |
| int | rpmInstallSource (const char *rootdir, const char *arg, const char **specFile, char **cookie) |
| Install source rpm package. | |
| static int | IDTintcmp (const void *a, const void *b) |
| IDTX | IDTXfree (IDTX idtx) |
| Destroy id index. | |
| IDTX | IDTXnew (void) |
| Create id index. | |
| IDTX | IDTXgrow (IDTX idtx, int need) |
| Insure that index has room for "need" elements. | |
| IDTX | IDTXsort (IDTX idtx) |
| Sort tag (instance,value) pairs. | |
| IDTX | IDTXload (rpmdb db, rpmTag tag) |
| Load tag (instance,value) pairs from rpm databse, and return sorted id index. | |
| IDTX | IDTXglob (const char *globstr, rpmTag tag) |
| Load tag (instance,value) pairs from packages, and return sorted id index. | |
| int | rpmRollback (struct rpmInstallArguments_s *ia, const char **argv) |
| Rollback transactions, erasing new, reinstalling old, package(s). | |
Variables | |
| static int | hashesPrinted = 0 |
| int | packagesTotal = 0 |
| static int | progressTotal = 0 |
| static int | progressCurrent = 0 |
| static int | reverse = -1 |
Definition in file rpminstall.c.
| typedef const char* str_t |
Definition at line 176 of file rpminstall.c.
| static int IDTintcmp | ( | const void * | a, | |
| const void * | b | |||
| ) | [static] |
Definition at line 724 of file rpminstall.c.
Destroy id index.
| idtx | id index |
Definition at line 738 of file rpminstall.c.
Load tag (instance,value) pairs from packages, and return sorted id index.
| db | glob expression | |
| tag | rpm tag |
Definition at line 831 of file rpminstall.c.
Insure that index has room for "need" elements.
| idtx | id index | |
| need | additional no. of elements needed |
Definition at line 762 of file rpminstall.c.
Load tag (instance,value) pairs from rpm databse, and return sorted id index.
| db | rpm database | |
| tag | rpm tag |
Definition at line 786 of file rpminstall.c.
| IDTX IDTXnew | ( | void | ) |
Sort tag (instance,value) pairs.
| idtx | id index |
Definition at line 779 of file rpminstall.c.
| static void printHash | ( | const unsigned long | amount, | |
| const unsigned long | total | |||
| ) | [static] |
Definition at line 33 of file rpminstall.c.
| void* rpmShowProgress | ( | const void * | arg, | |
| const rpmCallbackType | what, | |||
| const unsigned long | amount, | |||
| const unsigned long | total, | |||
| const void * | pkgKey, | |||
| void * | data | |||
| ) |
The rpm CLI generic transaction callback.
| arg | per-callback private data (e.g. an rpm header) | |
| what | callback identifier | |
| amount | per-callback progress info | |
| total | per-callback progress info | |
| pkgkey | opaque header key (e.g. file name or PyObject) | |
| data | private data (e.g. rpmInstallInterfaceFlags) |
Definition at line 75 of file rpminstall.c.
int hashesPrinted = 0 [static] |
Definition at line 22 of file rpminstall.c.
| int packagesTotal = 0 |
Definition at line 25 of file rpminstall.c.
int progressCurrent = 0 [static] |
Definition at line 29 of file rpminstall.c.
int progressTotal = 0 [static] |
Definition at line 27 of file rpminstall.c.
int reverse = -1 [static] |
Definition at line 720 of file rpminstall.c.
1.5.6