Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

lib/rpminstall.c File Reference

More...

#include "system.h"
#include <rpmlib.h>
#include <rpmmacro.h>
#include <rpmurl.h>
#include "misc.h"
#include "debug.h"

Go to the source code of this file.

RPMEIU

int rpmInstall (const char *rootdir, const char **fileArgv, rpmtransFlags transFlags, rpmInstallInterfaceFlags interfaceFlags, rpmprobFilterFlags probFilter, rpmRelocation *relocations)
int rpmErase (const char *rootdir, const char **argv, rpmtransFlags transFlags, rpmEraseInterfaceFlags interfaceFlags)
 Build up the transaction set. More...

int rpmInstallSource (const char *rootdir, const char *arg, const char **specFile, char **cookie)

Defines

#define FANCY_HASH

Functions

void printHash (const unsigned long amount, const unsigned long total)
void* showProgress (const void *arg, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, void *data)

Variables

int hashesPrinted = 0
int packagesTotal = 0
int progressTotal = 0
int progressCurrent = 0


Detailed Description

Definition in file rpminstall.c.


Define Documentation

#define FANCY_HASH
 

Value:

Definition at line 20 of file rpminstall.c.


Function Documentation

void printHash ( const unsigned long amount,
const unsigned long total ) [static]
 

Definition at line 30 of file rpminstall.c.

Referenced by showProgress().

void* showProgress ( const void * arg,
const rpmCallbackType what,
const unsigned long amount,
const unsigned long total,
const void * pkgKey,
void * data ) [static]
 

Definition at line 74 of file rpminstall.c.


Variable Documentation

int hashesPrinted = 0 [static]
 

Definition at line 22 of file rpminstall.c.

int packagesTotal = 0 [static]
 

Definition at line 25 of file rpminstall.c.

int progressCurrent = 0 [static]
 

Definition at line 27 of file rpminstall.c.

int progressTotal = 0 [static]
 

Definition at line 26 of file rpminstall.c.


Generated at Mon May 21 08:53:42 2001 for rpm by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001