summaryrefslogtreecommitdiff
path: root/verify.h
blob: 4b01be407f4fc48ca181215fef6db9363f626571 (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(const char * prefix, enum verifysources source, const char ** argv,
	      int verifyFlags);

#endif