Defines | |
#define | RPMGI_COMFOLLOW 0x0001 |
rpmgi FTS-flags | |
Typedefs | |
typedef enum rpmgiFlags_e | rpmgiFlags |
Enumerations | |
enum | rpmgiFlags_e { RPMGI_NONE = 0, RPMGI_TSADD = (1 << 0), RPMGI_TSORDER = (1 << 1), RPMGI_NOGLOB = (1 << 2), RPMGI_NOMANIFEST = (1 << 3), RPMGI_NOHEADER = (1 << 4) } |
Functions | |
rpmgi | rpmgiUnlink (rpmgi gi, const char *msg) |
Unreference a generalized iterator instance. | |
rpmgi | rpmgiLink (rpmgi gi, const char *msg) |
Reference a generalized iterator instance. | |
rpmgi | rpmgiFree (rpmgi gi) |
Destroy a generalized iterator. | |
rpmgi | rpmgiNew (rpmts ts, rpmTag tag, const void *keyp, size_t keylen) |
Return a generalized iterator. | |
rpmRC | rpmgiNext (rpmgi gi) |
Perform next iteration step. | |
const char * | rpmgiHdrPath (rpmgi gi) |
Return current header path. | |
Header | rpmgiHeader (rpmgi gi) |
Return current iteration header. | |
rpmts | rpmgiTs (rpmgi gi) |
Return current iteration transaction set. | |
rpmRC | rpmgiSetArgs (rpmgi gi, ARGV_const_t argv, int ftsOpts, rpmgiFlags flags) |
Load iterator args. | |
rpmgiFlags | rpmgiGetFlags (rpmgi gi) |
Retrieve iterator flags. | |
int | rpmgiNumErrors (rpmgi gi) |
Return number of errors (file not found etc) encountered during iteration. |
typedef enum rpmgiFlags_e rpmgiFlags |
enum rpmgiFlags_e |
Destroy a generalized iterator.
gi | generalized iterator |
rpmgiFlags rpmgiGetFlags | ( | rpmgi | gi | ) |
Retrieve iterator flags.
gi | generalized iterator |
const char* rpmgiHdrPath | ( | rpmgi | gi | ) |
Return current header path.
gi | generalized iterator |
Return current iteration header.
gi | generalized iterator |
Reference a generalized iterator instance.
gi | generalized iterator | |
msg |
Return a generalized iterator.
ts | transaction set | |
tag | rpm tag | |
keyp | key data (NULL for sequential access) | |
keylen | key data length (0 will use strlen(keyp)) |
Perform next iteration step.
gi | generalized iterator |
int rpmgiNumErrors | ( | rpmgi | gi | ) |
Return number of errors (file not found etc) encountered during iteration.
gi | generalized iterator |
rpmRC rpmgiSetArgs | ( | rpmgi | gi, | |
ARGV_const_t | argv, | |||
int | ftsOpts, | |||
rpmgiFlags | flags | |||
) |
Load iterator args.
gi | generalized iterator | |
argv | arg list | |
ftsOpts | fts(3) flags | |
flags | iterator flags |
Return current iteration transaction set.
gi | generalized iterator |
Unreference a generalized iterator instance.
gi | generalized iterator | |
msg |