1996-02-20 12:31:08 +08:00
|
|
|
#ifndef H_VERIFY
|
|
|
|
#define H_VERIFY
|
|
|
|
|
|
|
|
#include <rpmlib.h>
|
|
|
|
|
1996-07-21 07:21:18 +08:00
|
|
|
#define VERIFY_FILES (1 << 0)
|
|
|
|
#define VERIFY_DEPS (1 << 1)
|
1996-11-23 01:19:25 +08:00
|
|
|
#define VERIFY_SCRIPT (1 << 2)
|
1997-01-24 04:56:45 +08:00
|
|
|
#define VERIFY_MD5 (1 << 3)
|
1996-07-21 07:21:18 +08:00
|
|
|
|
1997-01-31 03:58:55 +08:00
|
|
|
enum verifysources { VERIFY_PATH, VERIFY_PACKAGE, VERIFY_EVERY, VERIFY_RPM,
|
1997-01-31 04:16:49 +08:00
|
|
|
VERIFY_GRP, };
|
1996-02-20 12:31:08 +08:00
|
|
|
|
1999-01-14 02:30:31 +08:00
|
|
|
int doVerify(const char * prefix, enum verifysources source, const char ** argv,
|
1996-07-21 07:21:18 +08:00
|
|
|
int verifyFlags);
|
1996-02-20 12:31:08 +08:00
|
|
|
|
|
|
|
#endif
|