25 #ifndef innodb_cb_api_h
26 #define innodb_cb_api_h
57 (*cb_cursor_delete_row_t)(
63 (*cb_cursor_update_row_t)(
71 (*cb_cursor_moveto_t)(
79 (*cb_sec_search_tuple_create_t)(
85 (*cb_sec_read_tuple_create_t)(
104 (*cb_tuple_read_u8_t)(
112 (*cb_tuple_read_u16_t)(
120 (*cb_tuple_read_u32_t)(
128 (*cb_tuple_read_u64_t)(
136 (*cb_tuple_write_u8_t)(
144 (*cb_tuple_write_u16_t)(
152 (*cb_tuple_write_u32_t)(
160 (*cb_tuple_write_u64_t)(
168 (*cb_tuple_read_i8_t)(
176 (*cb_tuple_read_i16_t)(
184 (*cb_tuple_read_i32_t)(
192 (*cb_tuple_read_i64_t)(
200 (*cb_tuple_write_i8_t)(
208 (*cb_tuple_write_i16_t)(
216 (*cb_tuple_write_i32_t)(
224 (*cb_tuple_write_i64_t)(
232 (*cb_col_set_value_t)(
242 (*cb_col_get_value_t)(
249 (*cb_col_get_meta_t)(
269 (*cb_trx_rollback_t)(
294 (*cb_tuple_get_n_cols_t)(
300 (*cb_cursor_set_match_mode_t)(
314 (*cb_cursor_set_lock_t)(
321 (*cb_cursor_close_t)(
327 (*cb_open_table_by_name_t)(
333 (*cb_cursor_new_trx_t)(
340 (*cb_cursor_reset_t)(
346 (*cb_col_get_name_t)(
353 (*cb_get_idx_field_name)(
360 (*cb_table_truncate_t)(
363 ib_id_u64_t* table_id);
367 (*cb_cursor_first_t)(
385 (*cb_cursor_clear_trx_t)(
402 (*cb_cursor_open_index_using_name_t)(
405 const char* index_name,
408 ib_id_u64_t* idx_id);
412 (*cb_cursor_set_cluster_access_t)(
418 (*cb_cursor_commit_trx_t)(
425 (*cb_cfg_trx_level_t)();
431 (*cb_get_n_user_cols)(
437 (*cb_trx_get_start_time)(
443 (*cb_bk_commit_interval)();
447 cb_read_row_t ib_cb_read_row;
448 cb_insert_row_t ib_cb_insert_row;
449 cb_cursor_delete_row_t ib_cb_delete_row;
450 cb_cursor_update_row_t ib_cb_update_row;
451 cb_cursor_moveto_t ib_cb_moveto;
452 cb_sec_search_tuple_create_t ib_cb_search_tuple_create;
453 cb_sec_read_tuple_create_t ib_cb_read_tuple_create;
454 cb_tuple_delete_t ib_cb_tuple_delete;
455 cb_tuple_copy_t ib_cb_tuple_copy;
456 cb_tuple_read_u8_t ib_cb_tuple_read_u8;
457 cb_tuple_read_u16_t ib_cb_tuple_read_u16;
458 cb_tuple_read_u32_t ib_cb_tuple_read_u32;
459 cb_tuple_read_u64_t ib_cb_tuple_read_u64;
460 cb_tuple_write_u8_t ib_cb_tuple_write_u8;
461 cb_tuple_write_u16_t ib_cb_tuple_write_u16;
462 cb_tuple_write_u32_t ib_cb_tuple_write_u32;
463 cb_tuple_write_u64_t ib_cb_tuple_write_u64;
464 cb_tuple_read_i8_t ib_cb_tuple_read_i8;
465 cb_tuple_read_i16_t ib_cb_tuple_read_i16;
466 cb_tuple_read_i32_t ib_cb_tuple_read_i32;
467 cb_tuple_read_i64_t ib_cb_tuple_read_i64;
468 cb_tuple_write_i8_t ib_cb_tuple_write_i8;
469 cb_tuple_write_i16_t ib_cb_tuple_write_i16;
470 cb_tuple_write_i32_t ib_cb_tuple_write_i32;
471 cb_tuple_write_i64_t ib_cb_tuple_write_i64;
472 cb_col_set_value_t ib_cb_col_set_value;
473 cb_col_get_value_t ib_cb_col_get_value;
474 cb_col_get_meta_t ib_cb_col_get_meta;
475 cb_trx_begin_t ib_cb_trx_begin;
476 cb_trx_commit_t ib_cb_trx_commit;
477 cb_trx_rollback_t ib_cb_trx_rollback;
478 cb_trx_start_t ib_cb_trx_start;
479 cb_trx_state_t ib_cb_trx_state;
480 cb_trx_release_t ib_cb_trx_release;
481 cb_tuple_get_n_cols_t ib_cb_tuple_get_n_cols;
482 cb_cursor_set_match_mode_t ib_cb_cursor_set_match_mode;
483 cb_cursor_lock_t ib_cb_cursor_lock;
484 cb_cursor_close_t ib_cb_cursor_close;
485 cb_cursor_new_trx_t ib_cb_cursor_new_trx;
486 cb_open_table_by_name_t ib_cb_open_table_by_name;
487 cb_cursor_reset_t ib_cb_cursor_reset;
488 cb_col_get_name_t ib_cb_col_get_name;
489 cb_get_idx_field_name ib_cb_get_idx_field_name;
490 cb_table_truncate_t ib_cb_table_truncate;
491 cb_cursor_first_t ib_cb_cursor_first;
492 cb_cursor_next_t ib_cb_cursor_next;
493 cb_cursor_last_t ib_cb_cursor_last;
494 cb_cursor_open_index_using_name_t ib_cb_cursor_open_index_using_name;
495 cb_close_thd_t ib_cb_close_thd;
496 cb_get_cfg_t ib_cb_get_cfg;
497 cb_cursor_set_cluster_access_t ib_cb_cursor_set_cluster_access;
498 cb_cursor_commit_trx_t ib_cb_cursor_commit_trx;
499 cb_cfg_trx_level_t ib_cb_cfg_trx_level;
500 cb_get_n_user_cols ib_cb_get_n_user_cols;
501 cb_cursor_set_lock_t ib_cb_cursor_set_lock;
502 cb_cursor_clear_trx_t ib_cb_cursor_clear_trx;
503 cb_trx_get_start_time ib_cb_trx_get_start_time;
504 cb_bk_commit_interval ib_cb_cfg_bk_commit_interval;