diff options
author | jbj <devnull@localhost> | 1999-01-06 17:33:50 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-01-06 17:33:50 +0000 |
commit | bd626d134d27fa77cae0f26aa7c03649d1bb2ef9 (patch) | |
tree | 0d53c6a480a2ec387c9b872b64d635a33281f064 /lib/rpmdb.h | |
parent | 7eca53f7ea2a634205d7234bc00d1f06e378db39 (diff) | |
download | rpm-bd626d134d27fa77cae0f26aa7c03649d1bb2ef9.tar.gz rpm-bd626d134d27fa77cae0f26aa7c03649d1bb2ef9.tar.bz2 rpm-bd626d134d27fa77cae0f26aa7c03649d1bb2ef9.zip |
propagate "const char *" into rpmlib prototypes.
CVS patchset: 2663
CVS date: 1999/01/06 17:33:50
Diffstat (limited to 'lib/rpmdb.h')
-rw-r--r-- | lib/rpmdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rpmdb.h b/lib/rpmdb.h index bddc6b97d..1090f3c0b 100644 --- a/lib/rpmdb.h +++ b/lib/rpmdb.h @@ -14,13 +14,13 @@ extern "C" { #define RPMDB_FLAG_JUSTCHECK (1 << 0) #define RPMDB_FLAG_MINIMAL (1 << 1) -int openDatabase(char * prefix, char * dbpath, rpmdb *rpmdbp, int mode, +int openDatabase(const char * prefix, const char * dbpath, rpmdb *rpmdbp, int mode, int perms, int flags); 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); +void rpmdbRemoveDatabase(const char * rootdir, const char * dbpath); +int rpmdbMoveDatabase(const char * rootdir, const char * olddbpath, const char * newdbpath); /* matchList must be preallocated!!! */ int rpmdbFindFpList(rpmdb db, fingerPrint * fpList, dbiIndexSet * matchList, int numItems); |