diff options
Diffstat (limited to 'lib/backend/db3.c')
-rw-r--r-- | lib/backend/db3.c | 5 |
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; |