lib/poptI.c File Reference

Popt tables for install modes. More...

#include "system.h"
#include <rpmcli.h>
#include "debug.h"

Go to the source code of this file.

Defines

#define POPT_RELOCATE   -1021
#define POPT_EXCLUDEPATH   -1022
#define POPT_ROLLBACK   -1023

Functions

time_t get_date (const char *p, void *now)
static void argerror (const char *desc)
static void installArgCallback (poptContext con, enum poptCallbackReason reason, const struct poptOption *opt, const char *arg, const void *data)

Variables

rpmInstallArguments_s rpmIArgs
poptOption rpmInstallPoptTable []


Detailed Description

Popt tables for install modes.

Definition in file poptI.c.


Define Documentation

#define POPT_EXCLUDEPATH   -1022

Definition at line 33 of file poptI.c.

Referenced by installArgCallback().

#define POPT_RELOCATE   -1021

Definition at line 32 of file poptI.c.

Referenced by installArgCallback().

#define POPT_ROLLBACK   -1023

Definition at line 34 of file poptI.c.

Referenced by installArgCallback().


Function Documentation

static void argerror ( const char *  desc  )  [static]

Definition at line 37 of file poptI.c.

References _, __progname, and EXIT_FAILURE.

time_t get_date ( const char *  p,
void *  now 
)

Referenced by installArgCallback().

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

Definition at line 50 of file poptI.c.

References _, _noTransScripts, _noTransTriggers, argerror(), get_date(), INSTALL_INSTALL, rpmInstallArguments_s::installInterfaceFlags, rpmRelocation_s::newPath, rpmInstallArguments_s::noDeps, rpmInstallArguments_s::numRelocations, rpmRelocation_s::oldPath, POPT_EXCLUDEPATH, POPT_RELOCATE, POPT_ROLLBACK, rpmInstallArguments_s::probFilter, rpmInstallArguments_s::qva_flags, rpmInstallArguments_s::rbtid, rpmInstallArguments_s::relocations, RPMCLI_POPT_FORCE, RPMCLI_POPT_NOCONTEXTS, RPMCLI_POPT_NODEPS, RPMCLI_POPT_NODIGEST, RPMCLI_POPT_NOHDRCHK, RPMCLI_POPT_NOMD5, RPMCLI_POPT_NOSCRIPTS, RPMCLI_POPT_NOSIGNATURE, rpmIArgs, RPMPROB_FILTER_OLDPACKAGE, RPMPROB_FILTER_REPLACENEWFILES, RPMPROB_FILTER_REPLACEOLDFILES, RPMPROB_FILTER_REPLACEPKG, RPMTRANS_FLAG_NOCONTEXTS, RPMTRANS_FLAG_NOMD5, rpmInstallArguments_s::transFlags, VERIFY_DIGEST, VERIFY_HDRCHK, VERIFY_SIGNATURE, xrealloc(), and xstrdup().


Generated on Fri Oct 12 08:44:55 2007 for rpm by  doxygen 1.5.2