summaryrefslogtreecommitdiff
path: root/lib/backend/db3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backend/db3.c')
-rw-r--r--lib/backend/db3.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/backend/db3.c b/lib/backend/db3.c
index e06aa96d3..38f14deee 100644
--- a/lib/backend/db3.c
+++ b/lib/backend/db3.c
@@ -354,6 +354,11 @@ unsigned int dbiCursorCount(dbiCursor dbc)
return count;
}
+dbiIndex dbiCursorIndex(dbiCursor dbc)
+{
+ return (dbc != NULL) ? dbc->dbi : NULL;
+}
+
int dbiByteSwapped(dbiIndex dbi)
{
DB * db = dbi->dbi_db;