Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

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   -1016
#define POPT_EXCLUDEPATH   -1019
#define POPT_ROLLBACK   -1024

Functions

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

Variables

int fancyPercents
rpmInstallArguments_s rpmIArgs
poptOption rpmInstallPoptTable []


Detailed Description

Popt tables for install modes.

Definition in file poptI.c.


Define Documentation

#define POPT_EXCLUDEPATH   -1019
 

Definition at line 22 of file poptI.c.

Referenced by installArgCallback().

#define POPT_RELOCATE   -1016
 

Definition at line 21 of file poptI.c.

Referenced by installArgCallback().

#define POPT_ROLLBACK   -1024
 

Definition at line 23 of file poptI.c.

Referenced by installArgCallback().


Function Documentation

void argerror const char *    desc [static]
 

Definition at line 25 of file poptI.c.

References _, __progname, and EXIT_FAILURE.

Referenced by installArgCallback(), and main().

time_t get_date const char *    p,
void *    now
 

Referenced by installArgCallback().

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

Definition at line 36 of file poptI.c.

References _, argerror(), get_date(), rpmInstallArguments_s::numRelocations, POPT_EXCLUDEPATH, POPT_RELOCATE, POPT_ROLLBACK, rpmInstallArguments_s::rbtid, rpmInstallArguments_s::relocations, and xrealloc().


Variable Documentation

int fancyPercents
 

Definition at line 16 of file poptI.c.

Referenced by checkTTY().


Generated on Sun Feb 2 23:32:09 2003 for rpm by doxygen1.2.18