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

#include "header.h"
#include "rpmlib.h"

struct sharedFile {
    int mainFileNumber;
    int secRecOffset;
    int secFileNumber;
} ;

int findSharedFiles(rpmdb db, int offset, char ** fileList, int fileCount,
		    struct sharedFile ** listPtr, int * listCountPtr);
int runScript(char * prefix, Header h, int tag, int dontRunScripts,
	      int upgrade);

#endif