summaryrefslogtreecommitdiff
path: root/lib/rpmdb.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-04-28 15:14:47 +0000
committerjbj <devnull@localhost>2000-04-28 15:14:47 +0000
commit5197d92f13815b602983cf9c032591f6001b03d7 (patch)
tree7b21f4130d1a8d2bc8c4027d96795ad0a71bf8cf /lib/rpmdb.h
parente1b556f8d022cd5d7f3fc0599c2e14091c8464f4 (diff)
downloadlibrpm-tizen-5197d92f13815b602983cf9c032591f6001b03d7.tar.gz
librpm-tizen-5197d92f13815b602983cf9c032591f6001b03d7.tar.bz2
librpm-tizen-5197d92f13815b602983cf9c032591f6001b03d7.zip
Don't incrementally link pthreads, causes segfault on (at least) alpha.
db0.c: Simulate db->sync on falloc. db0.c: Use RPMDBI_PACKAGES for rpmtag comparisons. db0.c: Add debug for dbi open/close like db3. db0.c: Remove dbi if temporary (i.e. Depends). db3.c: Filter DB_INCOMPLETE from db->sync return, it's usually harmless. depends.c: Free Depends iterator, pass keylen, and use cursors. depends.c: Free iterator *after* loop, not at end of 1st pass. rpmdb.c: Fine grained cursor locks to avoid "crossed cursors" deadlocks. rpmdb.c: Lazy open/close during rpmdbAdd/rpmdbRemove/openDatabase. rpmdb.c: Remove last remnants of dbix, do dynamic lookup instead. rpmdb.c: Resurrect rpmdbUpdateRecord in iterator loop. macros.in: Add Depends dbi to config. macros.in: Configure "nommap:mp_size=2Mb:pagesize=16Kb". CVS patchset: 3707 CVS date: 2000/04/28 15:14:47
Diffstat (limited to 'lib/rpmdb.h')
-rw-r--r--lib/rpmdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rpmdb.h b/lib/rpmdb.h
index 7aacbac00..6f0a6072b 100644
--- a/lib/rpmdb.h
+++ b/lib/rpmdb.h
@@ -284,11 +284,17 @@ dbiIndex dbiOpen(rpmdb rpmdb, int rpmtag, unsigned int flags);
* @param flags (unused)
*/
int dbiCopen(dbiIndex dbi, DBC ** dbcp, unsigned int flags);
+int XdbiCopen(dbiIndex dbi, DBC ** dbcp, unsigned int flags, const char *f, unsigned int l);
+#define dbiCopen(_a,_b,_c) \
+ XdbiCopen(_a, _b, _c, __FILE__, __LINE__)
/**
* @param flags (unused)
*/
int dbiCclose(dbiIndex dbi, DBC * dbcursor, unsigned int flags);
+int XdbiCclose(dbiIndex dbi, DBC * dbcursor, unsigned int flags, const char *f, unsigned int l);
+#define dbiCclose(_a,_b,_c) \
+ XdbiCclose(_a, _b, _c, __FILE__, __LINE__)
/**
* Delete (key,data) pair(s) from index database.