rpm  5.4.10
Macros | Functions | Variables
poptQV.c File Reference

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

#include "system.h"
#include <rpmio.h>
#include <rpmiotypes.h>
#include <rpmcb.h>
#include <rpmtag.h>
#include <rpmcli.h>
#include <rpmgi.h>
#include "debug.h"
Include dependency graph for poptQV.c:

Go to the source code of this file.

Macros

#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_TRUST   -1037
 
#define POPT_WHATNEEDS   -1038
 
#define POPT_SPECSRPM   -1039
 
#define POPT_QUERYBYSOURCEPKGID   -1040
 
#define POPT_WHATCONFLICTS   -1041
 
#define POPT_WHATOBSOLETES   -1042
 
#define POPT_NOPASSWORD   -1043
 

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

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

Detailed Description

Popt tables for query/verify modes.

Definition in file poptQV.c.

Macro Definition Documentation

§ POPT_DUMP

#define POPT_DUMP   -1005

Definition at line 32 of file poptQV.c.

Referenced by queryArgCallback().

§ POPT_FTSWALK

#define POPT_FTSWALK   -1012

Definition at line 39 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_HDLIST

#define POPT_HDLIST   -1011

Definition at line 38 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_NOPASSWORD

#define POPT_NOPASSWORD   -1043

Definition at line 48 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYBYFILEID

#define POPT_QUERYBYFILEID   -1009

Definition at line 36 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYBYHDRID

#define POPT_QUERYBYHDRID   -1008

Definition at line 35 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYBYNUMBER

#define POPT_QUERYBYNUMBER   -1003

Definition at line 30 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYBYPKGID

#define POPT_QUERYBYPKGID   -1007

Definition at line 34 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYBYSOURCEPKGID

#define POPT_QUERYBYSOURCEPKGID   -1040

Definition at line 45 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYBYTID

#define POPT_QUERYBYTID   -1010

Definition at line 37 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_QUERYFORMAT

#define POPT_QUERYFORMAT   -1000

Definition at line 27 of file poptQV.c.

Referenced by queryArgCallback().

§ POPT_SPECFILE

#define POPT_SPECFILE   -1006

Definition at line 33 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_SPECSRPM

#define POPT_SPECSRPM   -1039

Definition at line 44 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_TRIGGEREDBY

#define POPT_TRIGGEREDBY   -1004

Definition at line 31 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_TRUST

#define POPT_TRUST   -1037

Definition at line 42 of file poptQV.c.

Referenced by queryArgCallback().

§ POPT_WHATCONFLICTS

#define POPT_WHATCONFLICTS   -1041

Definition at line 46 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_WHATNEEDS

#define POPT_WHATNEEDS   -1038

Definition at line 43 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_WHATOBSOLETES

#define POPT_WHATOBSOLETES   -1042

Definition at line 47 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_WHATPROVIDES

#define POPT_WHATPROVIDES   -1002

Definition at line 29 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

§ POPT_WHATREQUIRES

#define POPT_WHATREQUIRES   -1001

Definition at line 28 of file poptQV.c.

Referenced by rpmQVSourceArgCallback().

Function Documentation

§ queryArgCallback()

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

§ rpmQVSourceArgCallback()

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

Variable Documentation

§ printspec

int printspec = 0

Definition at line 25 of file poptQV.c.

Referenced by _specQuery(), and newSl().

§ rpmQueryPoptTable

struct poptOption rpmQueryPoptTable[]

Query mode options.

Definition at line 328 of file poptQV.c.

§ rpmQVKArgs

struct rpmQVKArguments_s rpmQVKArgs

Definition at line 19 of file poptQV.c.

Referenced by main(), queryArgCallback(), and rpmQVSourceArgCallback().

§ rpmQVSourcePoptTable

struct poptOption rpmQVSourcePoptTable[]

Common query/verify mode options.

Definition at line 133 of file poptQV.c.

§ rpmSignPoptTable

struct poptOption rpmSignPoptTable[]

Signature mode options.

Definition at line 494 of file poptQV.c.

§ rpmVerifyPoptTable

struct poptOption rpmVerifyPoptTable[]

Verify mode options.

Definition at line 387 of file poptQV.c.

§ specedit

int specedit = 0

Definition at line 22 of file poptQV.c.

Referenced by _specQuery(), newSl(), and newSt().