Lines Matching defs:cursor
219 static void register_log_cursor(DB_LOGC *cursor)
221 skiplist_insert(&open_log_cursors, cursor);
224 static void unregister_log_cursor(DB_LOGC *cursor)
226 skiplist_remove(&open_log_cursors, cursor, NULL);
333 static int new_log_cursor_close(DB_LOGC *cursor, u_int32_t flags)
335 unregister_log_cursor(cursor);
336 return old_log_cursor_close(cursor, flags);
459 static int new_dbc_close(DBC *cursor)
461 unregister_cursor(cursor);
462 return old_dbc_close(cursor);
579 /* overload DB->cursor */
581 old_db_cursor = (*dbp)->cursor;
583 (*dbp)->cursor = new_db_cursor;
592 DBC *cursor;
594 while(cursor = (DBC *)skiplist_pop(&open_cursors, NULL)) {
595 cursor->close(cursor);