#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <glob.h>
#include <dirent.h>
#include <rpmlib.h>
#include "hash.h"
#include "upgrade.h"
Go to the source code of this file.
Defines | |
#define | MAXPKGS 1024 |
#define | USEDEBUG 0 |
#define | DEBUG(x) |
Functions | |
int | pkgCompare (void *first, void *second) |
void | compareFileList (int availFileCount, char **availBaseNames, char **availDirNames, int *availDirIndexes, int instFileCount, char **instBaseNames, char **instDirNames, int *instDirIndexes, struct hash_table *ht) |
void | addLostFiles (rpmdb db, struct pkgSet *psp, struct hash_table *ht) |
int | findPackagesWithObsoletes (rpmdb db, struct pkgSet *psp) |
void | errorFunction (void) |
int | findUpgradePackages (rpmdb db, struct pkgSet *psp, struct hash_table *ht) |
int | removeMovedFilesAlreadyHandled (struct pkgSet *psp, struct hash_table *ht) |
int | findPackagesWithRelocatedFiles (struct pkgSet *psp, struct hash_table *ht) |
int | unmarkPackagesAlreadyInstalled (rpmdb db, struct pkgSet *psp) |
void | emptyErrorCallback (void) |
int | ugFindUpgradePackages (struct pkgSet *psp, char *installRoot) |
Definition in file upgrade.c.
|
Value: { \ if (USEDEBUG) \ printf x; \ } |
|
|
|
|
|
Definition at line 105 of file upgrade.c. Referenced by ugFindUpgradePackages(). |
|
Definition at line 56 of file upgrade.c. Referenced by addLostFiles(), and findUpgradePackages(). |
|
|
|
|
|
Definition at line 153 of file upgrade.c. Referenced by ugFindUpgradePackages(). |
|
Definition at line 346 of file upgrade.c. Referenced by ugFindUpgradePackages(). |
|
Definition at line 189 of file upgrade.c. Referenced by ugFindUpgradePackages(). |
|
|
|
Definition at line 296 of file upgrade.c. Referenced by ugFindUpgradePackages(). |
|
|
|
Definition at line 418 of file upgrade.c. Referenced by ugFindUpgradePackages(). |