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

lib/rpminstall.c File Reference

More...

#include "system.h"
#include <rpmlib.h>
#include <rpmmacro.h>
#include <rpmurl.h>
#include "manifest.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)
int rpmInstallSource (const char *rootdir, const char *arg, const char **specFile, char **cookie)

Defines

#define FANCY_HASH

Functions

void* _free (const void *this)
 Wrapper to free(3), hides const compilation noise, permit NULL, return NULL. More...

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 32 of file rpminstall.c.


Function Documentation

void * _free ( const void * this ) [static]
 

Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.

Parameters:
this   memory to free
Return values:
NULL   always

Definition at line 24 of file rpminstall.c.

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

Definition at line 44 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 91 of file rpminstall.c.


Variable Documentation

int hashesPrinted = 0 [static]
 

Definition at line 34 of file rpminstall.c.

int packagesTotal = 0 [static]
 

Definition at line 37 of file rpminstall.c.

int progressCurrent = 0 [static]
 

Definition at line 39 of file rpminstall.c.

int progressTotal = 0 [static]
 

Definition at line 38 of file rpminstall.c.


Generated at Thu Apr 19 15:29:47 2001 for rpm by doxygen1.2.6-20010408 written by Dimitri van Heesch, © 1997-2001