#include <rpmlib.h>
#include <rpmds.h>
#include <rpmte.h>
#include <rpmts.h>
#include <fts.h>
#include <argv.h>
Include dependency graph for rpmgi.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
RPMGI | |
#define | rpmgiUnlink(_gi, _msg) XrpmgiUnlink(_gi, _msg, __FILE__, __LINE__) |
#define | rpmgiLink(_gi, _msg) XrpmgiLink(_gi, _msg, __FILE__, __LINE__) |
rpmgi | rpmgiUnlink (rpmgi gi, const char *msg) |
Unreference a generalized iterator instance. | |
rpmgi | XrpmgiUnlink (rpmgi gi, const char *msg, const char *fn, unsigned ln) |
rpmgi | rpmgiLink (rpmgi gi, const char *msg) |
Reference a generalized iterator instance. | |
rpmgi | XrpmgiLink (rpmgi gi, const char *msg, const char *fn, unsigned ln) |
rpmgi | rpmgiFree (rpmgi gi) |
Destroy a generalized iterator. | |
rpmgi | rpmgiNew (rpmts ts, int 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. | |
const char * | rpmgiEscapeSpaces (const char *s) |
Escape isspace(3) characters in string. | |
rpmRC | rpmgiSetArgs (rpmgi gi, ARGV_t argv, int ftsOpts, rpmgiFlags flags) |
Load iterator args. | |
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), RPMGI_ERASING = (1 << 5) } |
Variables | |
int | _rpmgi_debug |
rpmgiFlags | giFlags |
Definition in file rpmgi.h.
|
Definition at line 130 of file rpmgi.h. Referenced by rpmgiNew(). |
|
Definition at line 111 of file rpmgi.h. Referenced by rpmgiFree(). |
|
|
|
|
|
Escape isspace(3) characters in string.
Definition at line 319 of file rpmgi.c. Referenced by IDTXglob(), rpmgiGlobArgv(), and rpmInstall(). |
|
Destroy a generalized iterator.
Definition at line 471 of file rpmgi.c. References _free(), argvFree(), Fclose(), Fts_close(), headerFree(), rpmdbFreeIterator(), rpmgiUnlink, rpmtsFree(), and rpmtsiFree. Referenced by rpmcliArgIter(). |
|
Return current header path.
Definition at line 809 of file rpmgi.c. Referenced by rpmcliArgIter(). |
|
Return current iteration header.
Definition at line 814 of file rpmgi.c. Referenced by rpmgiShowMatches(). |
|
Reference a generalized iterator instance.
|
|
Return a generalized iterator.
Definition at line 510 of file rpmgi.c. References rpmgiLink, rpmtsLink, rpmtsOrder(), and xcalloc(). Referenced by rpmcliArgIter(). |
|
|
Load iterator args.
Definition at line 828 of file rpmgi.c. References rpmgiGlobArgv(), and RPMRC_FAIL. Referenced by rpmcliArgIter(). |
|
Return current iteration transaction set.
|
|
Unreference a generalized iterator instance.
|
|
Definition at line 460 of file rpmgi.c. References _rpmgi_debug, and tagName(). |
|
Definition at line 449 of file rpmgi.c. References _rpmgi_debug, and tagName(). |
|
|
|
Definition at line 33 of file rpmgi.c. Referenced by rpmcliArgIter(). |