lib/poptQV.c File Reference

Popt tables for query/verify modes. More...

#include "system.h"
#include <rpmcli.h>
#include <rpmbuild.h>
#include <rpmgi.h>
#include "debug.h"

Go to the source code of this file.

Defines

#define POPT_QUERYFORMAT   -1000
#define POPT_WHATREQUIRES   -1001
#define POPT_WHATPROVIDES   -1002
#define POPT_QUERYBYNUMBER   -1003
#define POPT_TRIGGEREDBY   -1004
#define POPT_DUMP   -1005
#define POPT_SPECFILE   -1006
#define POPT_QUERYBYPKGID   -1007
#define POPT_QUERYBYHDRID   -1008
#define POPT_QUERYBYFILEID   -1009
#define POPT_QUERYBYTID   -1010
#define POPT_HDLIST   -1011
#define POPT_FTSWALK   -1012
#define POPT_TARGETPLATFORM   -1036
#define POPT_TRUST   -1037

Functions

static void rpmQVSourceArgCallback (poptContext con, enum poptCallbackReason reason, const struct poptOption *opt, const char *arg, const void *data)
static void queryArgCallback (poptContext con, enum poptCallbackReason reason, const struct poptOption *opt, const char *arg, const void *data)

Variables

rpmQVKArguments_s rpmQVKArgs
int specedit = 0
poptOption rpmQVSourcePoptTable []
 Common query/verify mode options.
poptOption rpmQueryPoptTable []
 Query mode options.
poptOption rpmVerifyPoptTable []
 Verify mode options.
poptOption rpmSignPoptTable []
 Signature mode options.


Detailed Description

Popt tables for query/verify modes.

Definition in file poptQV.c.


Define Documentation

#define POPT_DUMP   -1005

Definition at line 25 of file poptQV.c.

Referenced by queryArgCallback().

#define POPT_FTSWALK   -1012

Definition at line 32 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_HDLIST   -1011

Definition at line 31 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_QUERYBYFILEID   -1009

Definition at line 29 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_QUERYBYHDRID   -1008

Definition at line 28 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_QUERYBYNUMBER   -1003

Definition at line 23 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_QUERYBYPKGID   -1007

Definition at line 27 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_QUERYBYTID   -1010

Definition at line 30 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_QUERYFORMAT   -1000

Definition at line 20 of file poptQV.c.

Referenced by queryArgCallback().

#define POPT_SPECFILE   -1006

Definition at line 26 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_TARGETPLATFORM   -1036

Definition at line 35 of file poptQV.c.

#define POPT_TRIGGEREDBY   -1004

Definition at line 24 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_TRUST   -1037

Definition at line 36 of file poptQV.c.

Referenced by queryArgCallback().

#define POPT_WHATPROVIDES   -1002

Definition at line 22 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

#define POPT_WHATREQUIRES   -1001

Definition at line 21 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().


Function Documentation

static void queryArgCallback ( poptContext  con,
enum poptCallbackReason  reason,
const struct poptOption *  opt,
const char *  arg,
const void *  data 
) [static]

Definition at line 163 of file poptQV.c.

References POPT_DUMP, POPT_QUERYFORMAT, POPT_TRUST, QUERY_FOR_CONFIG, QUERY_FOR_DOCS, QUERY_FOR_DUMPFILES, QUERY_FOR_LIST, QUERY_FOR_STATE, rpmQVKArguments_s::qva_flags, rpmQVKArguments_s::qva_mode, rpmQVKArguments_s::qva_queryFormat, RPMCLI_POPT_FORCE, RPMCLI_POPT_NOCONTEXTS, RPMCLI_POPT_NODEPS, RPMCLI_POPT_NODIGEST, RPMCLI_POPT_NOHDRCHK, RPMCLI_POPT_NOMD5, RPMCLI_POPT_NOSCRIPTS, RPMCLI_POPT_NOSIGNATURE, RPMPROB_FILTER_OLDPACKAGE, RPMPROB_FILTER_REPLACENEWFILES, RPMPROB_FILTER_REPLACEOLDFILES, RPMPROB_FILTER_REPLACEPKG, rpmQVKArgs, rpmQVKArguments_s::trust, VERIFY_CONTEXTS, VERIFY_DEPS, VERIFY_DIGEST, VERIFY_HDRCHK, VERIFY_MD5, VERIFY_SCRIPT, VERIFY_SIGNATURE, xmalloc(), and xrealloc().

static void rpmQVSourceArgCallback ( poptContext  con,
enum poptCallbackReason  reason,
const struct poptOption *  opt,
const char *  arg,
const void *  data 
) [static]

Definition at line 39 of file poptQV.c.

References POPT_FTSWALK, POPT_HDLIST, POPT_QUERYBYFILEID, POPT_QUERYBYHDRID, POPT_QUERYBYNUMBER, POPT_QUERYBYPKGID, POPT_QUERYBYTID, POPT_SPECFILE, POPT_TRIGGEREDBY, POPT_WHATPROVIDES, POPT_WHATREQUIRES, rpmQVKArguments_s::qva_char, rpmQVKArguments_s::qva_mode, rpmQVKArguments_s::qva_source, rpmQVKArguments_s::qva_sourceCount, RPMQV_ALL, RPMQV_DBOFFSET, RPMQV_FILEID, RPMQV_FTSWALK, RPMQV_GROUP, RPMQV_HDLIST, RPMQV_HDRID, RPMQV_PATH, RPMQV_PKGID, RPMQV_RPM, RPMQV_SPECFILE, RPMQV_TID, RPMQV_TRIGGEREDBY, RPMQV_WHATPROVIDES, RPMQV_WHATREQUIRES, and rpmQVKArgs.


Generated on Fri Oct 12 08:44:55 2007 for rpm by  doxygen 1.5.2