summaryrefslogtreecommitdiff
path: root/verify.h
blob: 193ec24cd967a4454e4b55d66103d5f9dab3329a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef H_VERIFY
#define H_VERIFY

#include <rpmlib.h>

#define VERIFY_FILES		(1 << 0)
#define VERIFY_DEPS		(1 << 1)
#define VERIFY_SCRIPT		(1 << 2)
#define VERIFY_MD5		(1 << 3)

enum verifysources { VERIFY_PATH, VERIFY_PACKAGE, VERIFY_EVERY, VERIFY_RPM, 
			VERIFY_GRP, };

int doVerify(char * prefix, enum verifysources source, char ** argv,
	      int verifyFlags);

#endif