summaryrefslogtreecommitdiff
path: root/verify.h
blob: a4360a780aacdd16eaa7389ff6a5b9f44a6b91af (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, };

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

#endif