summaryrefslogtreecommitdiff
path: root/lib/rpmdb_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-31 02:47:33 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-03-31 02:47:33 +0300
commit5e6079eabcd6a4ed4d4d545143e2d4c3f06cc78e (patch)
treeb8016d595025bec0cd652fa48e84a4e808138204 /lib/rpmdb_internal.h
parentaa74bc4af0227c7b37f11bda371f2b7cb20e25ca (diff)
downloadlibrpm-tizen-5e6079eabcd6a4ed4d4d545143e2d4c3f06cc78e.tar.gz
librpm-tizen-5e6079eabcd6a4ed4d4d545143e2d4c3f06cc78e.tar.bz2
librpm-tizen-5e6079eabcd6a4ed4d4d545143e2d4c3f06cc78e.zip
Make dbiVerify() and dbiOpen() static, not needed outside rpmdb.c
Diffstat (limited to 'lib/rpmdb_internal.h')
-rw-r--r--lib/rpmdb_internal.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/rpmdb_internal.h b/lib/rpmdb_internal.h
index 02a8ca3f0..08f379b66 100644
--- a/lib/rpmdb_internal.h
+++ b/lib/rpmdb_internal.h
@@ -124,18 +124,6 @@ RPM_GNUC_INTERNAL
char * prDbiOpenFlags(int dbflags, int print_dbenv_flags);
/** \ingroup dbi
- * Return handle for an index database.
- * @param db rpm database
- * @param rpmtag rpm tag
- * @param flags (unused)
- * @return index database handle
- */
-RPM_GNUC_INTERNAL
-dbiIndex dbiOpen(rpmdb db, rpmTag rpmtag,
- unsigned int flags);
-
-
-/** \ingroup dbi
* Actually open the database of the index.
* @param db rpm database
* @param rpmtag rpm tag
@@ -235,19 +223,6 @@ int dbiClose(dbiIndex dbi, unsigned int flags);
*/
int dbiSync (dbiIndex dbi, unsigned int flags);
-/** \ingroup dbi
- * Verify (and close) index database.
- * @param dbi index database handle
- * @param flags (unused)
- * @return 0 on success
- */
-static inline
-int dbiVerify(dbiIndex dbi, unsigned int flags)
-{
- dbi->dbi_verify_on_close = 1;
- return dbiClose(dbi, flags);
-}
-
/** \ingroup dbi
* Is database byte swapped?