rpm  4.13.0
Macros | Enumerations | Functions | Variables
rpmqv.c File Reference
#include "system.h"
#include <rpm/rpmcli.h>
#include <rpm/rpmlib.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmps.h>
#include <rpm/rpmts.h>
#include "cliutils.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define MODES_QV   (MODE_QUERY | MODE_VERIFY)
 
#define MODES_IE   (MODE_INSTALL | MODE_ERASE)
 
#define MODES_FOR_NODEPS   (MODES_IE | MODE_VERIFY)
 
#define MODES_FOR_TEST   (MODES_IE)
 

Enumerations

enum  modes {
  MODE_BUILD = (1 << 4), MODE_REBUILD = (1 << 5), MODE_RECOMPILE = (1 << 8), MODE_TARBUILD = (1 << 11),
  MODE_INITDB = (1 << 0), MODE_REBUILDDB = (1 << 1), MODE_VERIFYDB = (1 << 2), MODE_EXPORTDB = (1 << 3),
  MODE_IMPORTDB = (1 << 4), MODE_CHECKSIG = (1 << 0), MODE_IMPORTKEY = (1 << 1), MODE_DELKEY = (1 << 2),
  MODE_LISTKEY = (1 << 3), MODE_QUERY = (1 << 0), MODE_VERIFY = (1 << 3), MODE_INSTALL = (1 << 1),
  MODE_ERASE = (1 << 2), MODE_UNKNOWN = 0, MODE_ADDSIGN = (1 << 0), MODE_RESIGN = (1 << 1),
  MODE_DELSIGN = (1 << 2), MODE_UNKNOWN = 0, MODE_QUERY = (1 << 0), MODE_PARSE = (1 << 1)
}
 

Functions

int main (int argc, char *argv[])
 

Variables

const char * __progname
 
static int quiet
 
static struct poptOption optionsTable []
 

Macro Definition Documentation

◆ MODES_FOR_NODEPS

#define MODES_FOR_NODEPS   (MODES_IE | MODE_VERIFY)

Definition at line 31 of file rpmqv.c.

◆ MODES_FOR_TEST

#define MODES_FOR_TEST   (MODES_IE)

Definition at line 32 of file rpmqv.c.

◆ MODES_IE

#define MODES_IE   (MODE_INSTALL | MODE_ERASE)

Definition at line 26 of file rpmqv.c.

◆ MODES_QV

#define MODES_QV   (MODE_QUERY | MODE_VERIFY)

Definition at line 22 of file rpmqv.c.

Enumeration Type Documentation

◆ modes

enum modes
Enumerator
MODE_BUILD 
MODE_REBUILD 
MODE_RECOMPILE 
MODE_TARBUILD 
MODE_INITDB 
MODE_REBUILDDB 
MODE_VERIFYDB 
MODE_EXPORTDB 
MODE_IMPORTDB 
MODE_CHECKSIG 
MODE_IMPORTKEY 
MODE_DELKEY 
MODE_LISTKEY 
MODE_QUERY 
MODE_VERIFY 
MODE_INSTALL 
MODE_ERASE 
MODE_UNKNOWN 
MODE_ADDSIGN 
MODE_RESIGN 
MODE_DELSIGN 
MODE_UNKNOWN 
MODE_QUERY 
MODE_PARSE 

Definition at line 18 of file rpmqv.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 72 of file rpmqv.c.

Variable Documentation

◆ __progname

const char* __progname

Definition at line 2 of file rpmqv.c.

◆ optionsTable

struct poptOption optionsTable[]
static

Definition at line 37 of file rpmqv.c.

◆ quiet

int quiet
static

Definition at line 34 of file rpmqv.c.