#include "system.h"
#include <rpmcli.h>
#include <rpmbuild.h>
#include "debug.h"
Go to the source code of this file.
Defines | |
#define | _AUTOHELP |
#define | POPT_NODEPS 1025 |
#define | POPT_FORCE 1026 |
#define | POPT_NOMD5 1027 |
#define | POPT_NOSCRIPTS 1028 |
#define | GETOPT_DBPATH 1010 |
#define | GETOPT_SHOWRC 1018 |
#define | GETOPT_DEFINEMACRO 1020 |
#define | GETOPT_EVALMACRO 1021 |
#define | MODES_QV (MODE_QUERY | MODE_VERIFY) |
#define | MODES_IE (MODE_INSTALL | MODE_ERASE) |
#define | MODES_BT (MODE_BUILD | MODE_TARBUILD | MODE_REBUILD | MODE_RECOMPILE) |
#define | MODES_K (MODE_CHECKSIG | MODE_RESIGN) |
#define | MODES_DB (MODE_INITDB | MODE_REBUILDDB | MODE_VERIFYDB) |
#define | MODES_FOR_DBPATH (MODES_BT | MODES_IE | MODES_QV | MODES_DB) |
#define | MODES_FOR_NODEPS (MODES_BT | MODES_IE | MODE_VERIFY) |
#define | MODES_FOR_TEST (MODES_BT | MODES_IE) |
#define | MODES_FOR_ROOT (MODES_BT | MODES_IE | MODES_QV | MODES_DB) |
Enumerations | |
enum | modes { MODE_QUERY = (1 << 0), MODE_VERIFY = (1 << 3), MODE_QUERYTAGS = (1 << 9), MODE_INSTALL = (1 << 1), MODE_ERASE = (1 << 2), MODE_BUILD = (1 << 4), MODE_REBUILD = (1 << 5), MODE_RECOMPILE = (1 << 8), MODE_TARBUILD = (1 << 11), MODE_CHECKSIG = (1 << 6), MODE_RESIGN = (1 << 7), MODE_INITDB = (1 << 10), MODE_REBUILDDB = (1 << 12), MODE_VERIFYDB = (1 << 13), MODE_UNKNOWN = 0 } |
Functions | |
static void | argerror (const char *desc) |
static void | printVersion (void) |
static void | printBanner (void) |
static void | printUsage (void) |
int | main (int argc, const char **argv) |
Variables | |
int | _ftp_debug |
int | noLibio |
int | _rpmio_debug |
int | _url_debug |
static int | help = 0 |
static int | noUsageMsg = 0 |
static const char * | pipeOutput = NULL |
static int | quiet = 0 |
static const char * | rcfile = NULL |
static char * | rootdir = "/" |
static int | showrc = 0 |
static int | showVersion = 0 |
static struct poptOption | rpmAllPoptTable [] |
static struct poptOption | optionsTable [] |
|
|
|
|
|
Definition at line 35 of file rpmqv.c. Referenced by main(). |
|
Definition at line 36 of file rpmqv.c. Referenced by main(). |
|
|
|
Referenced by main(). |
|
Referenced by main(). |
|
Definition at line 71 of file rpmqv.c. Referenced by main(). |
|
Definition at line 72 of file rpmqv.c. Referenced by main(). |
|
Definition at line 74 of file rpmqv.c. Referenced by main(). |
|
Definition at line 73 of file rpmqv.c. Referenced by main(). |
|
Referenced by main(). |
|
Referenced by main(). |
|
Referenced by main(). |
|
Definition at line 17 of file rpmqv.c. Referenced by buildArgCallback(), and main(). |
|
Definition at line 16 of file rpmqv.c. Referenced by buildArgCallback(), and main(). |
|
Definition at line 18 of file rpmqv.c. Referenced by main(). |
|
Definition at line 19 of file rpmqv.c. Referenced by main(). |
|
|
|
Definition at line 220 of file rpmqv.c. References _, __progname, and EXIT_FAILURE. Referenced by installArgCallback(), and main(). |
|
|
Definition at line 235 of file rpmqv.c. References _. Referenced by printUsage(). |
|
Definition at line 243 of file rpmqv.c. References _, __progname, printBanner(), and printVersion(). Referenced by main(). |
|
Definition at line 228 of file rpmqv.c. Referenced by main(), and printUsage(). |
|
Definition at line 118 of file rpmio.c. Referenced by checkResponse(), ftpCommand(), ftpReq(), httpReq(), httpResp(), main(), tcpConnect(), and ufdClose(). |
|
Definition at line 123 of file rpmio.c. Referenced by Access(), Closedir(), fdFgets(), Fdopen(), fdWritable(), Fopen(), ftpGlob(), ftpGlobfree(), ftpLstat(), Glob(), Globfree(), Link(), Lstat(), main(), Opendir(), Readdir(), Rename(), Stat(), ufdOpen(), ufdRead(), and ufdWrite(). |
|
Definition at line 34 of file url.c. Referenced by main(), and urlGetFile(). |
|
Definition at line 93 of file rpmqv.c. Referenced by main(). |
|
Definition at line 100 of file rpmio.c. Referenced by Fclose(), Fdopen(), main(), and ufdClose(). |
|
Definition at line 95 of file rpmqv.c. Referenced by main(). |
|
Definition at line 162 of file rpmqv.c. Referenced by main(). |
|
Definition at line 97 of file rpmqv.c. Referenced by main(). |
|
Definition at line 99 of file rpmqv.c. Referenced by main(). |
|
Definition at line 101 of file rpmqv.c. Referenced by main(). |
|
Definition at line 103 of file rpmqv.c. Referenced by main(). |
|
|
|
Definition at line 105 of file rpmqv.c. Referenced by main(). |
|
Definition at line 107 of file rpmqv.c. Referenced by main(). |