rpm
4.12.0.1
|
#include "system.h"
#include <rpm/rpmcli.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>
#include <rpm/rpmts.h>
#include "cliutils.h"
#include "debug.h"
Go to the source code of this file.
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 * | program_name |
static int | mode = MODE_UNKNOWN |
static int | source = RPMQV_SPECRPMS |
const char * | target = NULL |
char * | queryformat = NULL |
static struct poptOption | specOptsTable [] |
static struct poptOption | optionsTable [] |
enum modes |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 55 of file rpmspec.c.
References _, argerror(), finishPipe(), initPipe(), MODE_PARSE, MODE_QUERY, MODE_UNKNOWN, printUsage(), queryformat, rpmQVKArguments_s::qva_queryFormat, rpmQVKArguments_s::qva_source, rpmQVKArguments_s::qva_specQuery, RETVAL, RPMBUILD_NONE, rpmcliFini(), rpmcliInit(), rpmcliPipeOutput, rpmcliQuery(), rpmcliRcfile, rpmFreeMacros(), rpmFreeRpmrc(), rpmIsVerbose, rpmQVKArgs, rpmReadConfigFiles(), RPMSPEC_ANYARCH, RPMSPEC_FORCE, rpmSpecFree(), rpmSpecGetSection(), rpmSpecParse(), rpmspecQuery(), rpmtsCreate(), rpmtsFree(), and source.
|
static |
|
static |
|
static |
|
static |