blob: c1f1093eebcbd92806a9de03b8ee26b976de14dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef H_RPMDB
#define H_RPMDB
#include "rpmlib.h"
/* for RPM's internal use only */
int openDatabase(char * prefix, char * dbpath, rpmdb *rpmdbp, int mode,
int perms, int justcheck);
int rpmdbRemove(rpmdb db, unsigned int offset, int tolerant);
int rpmdbAdd(rpmdb db, Header dbentry);
int rpmdbUpdateRecord(rpmdb db, int secOffset, Header secHeader);
void rpmdbRemoveDatabase(char * rootdir, char * dbpath);
int rpmdbMoveDatabase(char * rootdir, char * olddbpath, char * newdbpath);
#endif /* H_RPMDB */
|