rpm
5.4.15
|
#include <rpmio.h>
#include <rpmiotypes.h>
#include <rpmcb.h>
#include <rpmmacro.h>
#include <rpmmg.h>
#include <rpmpgp.h>
#include <rpmsw.h>
#include <rpmurl.h>
#include <argv.h>
#include <fts.h>
#include <mire.h>
#include <popt.h>
Go to the source code of this file.
Functions | |
poptContext | rpmioInit (int argc, char *const argv[], struct poptOption *optionsTable) |
Initialize most everything needed by an rpmio executable context. More... | |
void | rpmioConfigured (void) |
Make sure that rpm configuration has been read. More... | |
poptContext | rpmioFini (poptContext optCon) |
Destroy most everything needed by an rpm CLI executable context. More... | |
Variables | |
int | __debug |
int | _rpmio_popt_context_flags |
pgpHashAlgo | rpmioDigestHashAlgo |
struct poptOption | rpmioDigestPoptTable [] |
Popt option table for options to select digest algorithm. More... | |
struct poptOption | rpmioAllPoptTable [] |
Popt option table for options shared by all modes and executables. More... | |
int | rpmioFtsOpts |
struct poptOption | rpmioFtsPoptTable [] |
Popt option table for options to set Fts(3) options. More... | |
const char * | rpmioPipeOutput |
const char * | rpmioRootDir |
void rpmioConfigured | ( | void | ) |
Make sure that rpm configuration has been read.
Definition at line 382 of file poptIO.c.
References EXIT_FAILURE.
Referenced by rpmioAllArgCallback(), and rpmioInit().
poptContext rpmioFini | ( | poptContext | optCon | ) |
Destroy most everything needed by an rpm CLI executable context.
optCon | popt context |
Definition at line 734 of file poptIO.c.
References rpmCLIMacroContext, rpmFreeMacros(), and rpmioClean().
Referenced by main(), and rpmioAllArgCallback().
poptContext rpmioInit | ( | int | argc, |
char *const | argv[], | ||
struct poptOption * | optionsTable | ||
) |
Initialize most everything needed by an rpmio executable context.
argc | no. of args |
argv | arg array |
optionsTable | popt option table |
Definition at line 767 of file poptIO.c.
References _, _free(), bindtextdomain, checkfd(), EXIT_FAILURE, i, LOCALEDIR, PACKAGE, rpmGlob(), rpmIncreaseVerbosity, rpmioConfigured(), rpmlog(), RPMLOG_NOTICE, RPMLOG_WARNING, rpmSecuritySaneFile(), rpmSetVerbosity, setlocale, setprogname, textdomain, USRLIBRPM, and xstrdup().
Referenced by main(), and rpmrepoInitPopt().
struct poptOption rpmioAllPoptTable[] |
pgpHashAlgo rpmioDigestHashAlgo |
Definition at line 147 of file poptIO.c.
Referenced by main(), rpmdcFiniFile(), and rpmrepoInitPopt().
struct poptOption rpmioDigestPoptTable[] |
Popt option table for options to select digest algorithm.
Popt option table for options to select digest algorithm.
Definition at line 152 of file poptIO.c.
Referenced by rpmdcAlgo2Name(), rpmdcFiniFile(), rpmdcInitFile(), and rpmdcName2Algo().
int rpmioFtsOpts |
Definition at line 539 of file poptIO.c.
Referenced by main(), mtreeArgCallback(), rpmcliArgIter(), rpmcliInstall(), rpmcliSign(), rpmrepoInitPopt(), and rpmReSign().
struct poptOption rpmioFtsPoptTable[] |