1996-01-06 02:12:55 +08:00
|
|
|
#ifndef _H_INSTALL
|
|
|
|
#define _H_INSTALL
|
|
|
|
|
1998-01-29 00:49:43 +08:00
|
|
|
#include "lib/rpmlib.h"
|
|
|
|
|
1996-11-19 02:02:36 +08:00
|
|
|
#define INSTALL_PERCENT (1 << 0)
|
|
|
|
#define INSTALL_HASH (1 << 1)
|
|
|
|
#define INSTALL_NODEPS (1 << 2)
|
1997-07-02 00:24:08 +08:00
|
|
|
#define INSTALL_NOORDER (1 << 3)
|
1996-01-23 05:12:55 +08:00
|
|
|
|
1996-11-19 02:02:36 +08:00
|
|
|
#define UNINSTALL_NODEPS (1 << 0)
|
1997-04-01 04:15:41 +08:00
|
|
|
#define UNINSTALL_ALLMATCHES (1 << 1)
|
1996-06-11 01:41:24 +08:00
|
|
|
|
1998-01-29 00:49:43 +08:00
|
|
|
int doInstall(char * rootdir, char ** argv, int installFlags,
|
|
|
|
int interfaceFlags, struct rpmRelocation * relocations);
|
1997-10-30 00:02:07 +08:00
|
|
|
int doSourceInstall(char * prefix, char * arg, char ** specFile,
|
|
|
|
char ** cookie);
|
1996-07-10 10:35:15 +08:00
|
|
|
int doUninstall(char * rootdir, char ** argv, int uninstallFlags,
|
1996-06-11 01:41:24 +08:00
|
|
|
int interfaceFlags);
|
1996-07-21 07:20:56 +08:00
|
|
|
void printDepFlags(FILE * f, char * version, int flags);
|
1996-01-06 02:12:55 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|