summaryrefslogtreecommitdiff
path: root/install.h
blob: dcc83291a5d2137f40e009001ffb834cd660a743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _H_INSTALL
#define _H_INSTALL

#include <stdio.h>

#define RPMINSTALL_PERCENT 		(1 << 0)
#define RPMINSTALL_HASH	   		(1 << 1)
#define RPMINSTALL_NODEPS	   	(1 << 2)

#define RPMUNINSTALL_NODEPS		(1 << 0)

int doInstall(char * rootdir, char ** argv, char * prefix, int installFlags, 
	      int interfaceFlags);
int doSourceInstall(char * prefix, char * arg, char ** specFile);
int doUninstall(char * rootdir, char ** argv, int uninstallFlags, 
		 int interfaceFlags);
void printDepFlags(FILE * f, char * version, int flags);

#endif