#include "system.h"
#include <rpmio_internal.h>
#include <rpmgi.h>
#include <rpmcli.h>
#include <rpmte.h>
#include <rpmmacro.h>
#include <rpmmessages.h>
#include <popt.h>
#include "debug.h"
Go to the source code of this file.
Functions | |
static const char * | rpmgiPathOrQF (const rpmgi gi) |
int | main (int argc, char *const argv[]) |
Variables | |
static const char * | gitagstr = "packages" |
static const char * | gikeystr = NULL |
static rpmtransFlags | transFlags = 0 |
static const char * | queryFormat = NULL |
static const char * | defaultQueryFormat |
static struct poptOption | optionsTable [] |
int main | ( | int | argc, | |
char *const | argv[] | |||
) |
Definition at line 88 of file tgi.c.
References _, _free(), _RPMVSF_NODIGESTS, _RPMVSF_NOSIGNATURES, EXIT_FAILURE, FTS_COMFOLLOW, FTS_LOGICAL, FTS_NOSTAT, ftsOpts, giFlags, gikeystr, gitagstr, optionsTable, rpmcliFini(), rpmcliInit(), rpmcliQueryFlags, RPMDBI_PACKAGES, rpmExpandNumeric(), RPMGI_TSADD, RPMGI_TSORDER, rpmgiFree(), rpmgiNew(), rpmgiNext(), rpmgiPathOrQF(), rpmgiSetArgs(), RPMRC_OK, rpmteDegree(), rpmteDepth(), rpmteNEVRA(), rpmteTree(), rpmteType(), rpmtsCreate(), rpmtsFree(), rpmtsiFree, rpmtsiInit, rpmtsiNext(), rpmtsNElements(), rpmtsSetFlags(), rpmtsSetTid(), rpmtsSetVSFlags(), rpmtsUnorderedSuccessors(), RPMVSF_NOHDRCHK, tagValue(), TR_REMOVED, transFlags, VERIFY_DIGEST, VERIFY_HDRCHK, VERIFY_SIGNATURE, and vsflags.
static const char* rpmgiPathOrQF | ( | const rpmgi | gi | ) | [static] |
Definition at line 27 of file tgi.c.
References defaultQueryFormat, headerSprintf(), queryFormat, rpmgiHdrPath(), rpmgiHeader(), rpmHeaderFormats, rpmTagTable, and xstrdup().
Referenced by main().
const char* defaultQueryFormat [static] |
Initial value:
"%{name}-%{version}-%{release}.%|SOURCERPM?{%{arch}.rpm}:{%|ARCH?{src.rpm}:{pubkey}|}|"
Definition at line 23 of file tgi.c.
Referenced by rpmgiPathOrQF().
const char* gitagstr = "packages" [static] |
struct poptOption optionsTable[] [static] |
const char* queryFormat = NULL [static] |
rpmtransFlags transFlags = 0 [static] |
Definition at line 17 of file tgi.c.
Referenced by main(), rpmRollback(), rpmts_Rollback(), and rpmts_SetFlags().