#include <rpm/rpmlib.h>
Go to the source code of this file.
Data Structures | |
struct | IDT_s |
* A rollback transaction id element. More... | |
struct | IDTindex_s |
A rollback transaction id index. More... | |
Typedefs | |
typedef struct IDT_s * | IDT |
* A rollback transaction id element. | |
typedef struct IDTindex_s * | IDTX |
A rollback transaction id index. | |
Functions | |
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 (rpmts ts, rpm_tag_t tag) |
Load tag (instance,value) pairs from rpm databse, and return sorted id index. | |
IDTX | IDTXglob (rpmts ts, const char *globstr, rpm_tag_t tag) |
Load tag (instance,value) pairs from packages, and return sorted id index. |
typedef struct IDTindex_s * IDTX |
A rollback transaction id index.
Load tag (instance,value) pairs from packages, and return sorted id index.
ts | transaction set | |
globstr | glob expression | |
tag | rpm tag |
Insure that index has room for "need" elements.
idtx | id index | |
need | additional no. of elements needed |
Load tag (instance,value) pairs from rpm databse, and return sorted id index.
ts | transaction set | |
tag | rpm tag |
IDTX IDTXnew | ( | void | ) |
Create id index.
Sort tag (instance,value) pairs.
idtx | id index |