Module Rocksdb_ffi.G

module CI = Cstubs_internals
val rocksdb_stub_1_rocksdb_filterpolicy_create_bloom_full : int -> CI.voidp
val rocksdb_stub_2_rocksdb_filterpolicy_create_bloom : int -> CI.voidp
val rocksdb_stub_3_rocksdb_filterpolicy_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_4_rocksdb_cache_create_lru : Unsigned.size_t -> CI.voidp
val rocksdb_stub_5_rocksdb_cache_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_6_rocksdb_cache_set_capacity : (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_7_rocksdb_cache_get_usage : (__) CI.fatptr -> Unsigned.size_t
val rocksdb_stub_8_rocksdb_cache_get_pinned_usage : (__) CI.fatptr -> Unsigned.size_t
val rocksdb_stub_9_rocksdb_block_based_options_create : unit -> CI.voidp
val rocksdb_stub_10_rocksdb_block_based_options_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_11_rocksdb_block_based_options_set_block_size : (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_12_rocksdb_block_based_options_set_block_cache : (__) CI.fatptr -> (__) CI.fatptr -> unit
val rocksdb_stub_13_rocksdb_block_based_options_set_filter_policy : (__) CI.fatptr -> (__) CI.fatptr -> unit
val rocksdb_stub_14_rocksdb_block_based_options_set_cache_index_and_filter_blocks : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_15_rocksdb_options_create : unit -> CI.voidp
val rocksdb_stub_16_rocksdb_options_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_17_rocksdb_options_increase_parallelism : (__) CI.fatptr -> int -> unit
val rocksdb_stub_18_rocksdb_options_optimize_for_point_lookup : (__) CI.fatptr -> Unsigned.uint64 -> unit
val rocksdb_stub_19_rocksdb_options_optimize_level_style_compaction : (__) CI.fatptr -> Unsigned.uint64 -> unit
val rocksdb_stub_20_rocksdb_options_optimize_universal_style_compaction : (__) CI.fatptr -> Unsigned.uint64 -> unit
val rocksdb_stub_21_rocksdb_options_set_optimize_filters_for_hits : (__) CI.fatptr -> int -> unit
val rocksdb_stub_22_rocksdb_options_set_compression : (__) CI.fatptr -> int -> unit
val rocksdb_stub_23_rocksdb_options_set_compression_per_level : (__) CI.fatptr -> (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_24_rocksdb_options_set_error_if_exists : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_25_rocksdb_options_set_create_if_missing : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_26_rocksdb_options_set_paranoid_checks : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_27_rocksdb_options_set_max_background_flushes : (__) CI.fatptr -> int -> unit
val rocksdb_stub_28_rocksdb_options_set_disable_auto_compactions : (__) CI.fatptr -> int -> unit
val rocksdb_stub_29_rocksdb_options_set_level0_file_num_compaction_trigger : (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_30_rocksdb_options_set_level0_slowdown_writes_trigger : (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_31_rocksdb_options_set_level0_stop_writes_trigger : (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_32_rocksdb_options_set_write_buffer_size : (__) CI.fatptr -> Unsigned.size_t -> unit
val rocksdb_stub_33_rocksdb_options_set_max_write_buffer_number : (__) CI.fatptr -> int -> unit
val rocksdb_stub_34_rocksdb_options_set_min_write_buffer_number_to_merge : (__) CI.fatptr -> int -> unit
val rocksdb_stub_35_rocksdb_options_set_memtable_vector_rep : (__) CI.fatptr -> unit
val rocksdb_stub_36_rocksdb_options_prepare_for_bulk_load : (__) CI.fatptr -> unit
val rocksdb_stub_37_rocksdb_options_set_target_file_size_base : (__) CI.fatptr -> Unsigned.uint64 -> unit
val rocksdb_stub_38_rocksdb_options_set_target_file_size_multiplier : (__) CI.fatptr -> Unsigned.uint64 -> unit
val rocksdb_stub_39_rocksdb_options_set_num_levels : (__) CI.fatptr -> int -> unit
val rocksdb_stub_40_rocksdb_options_set_block_based_table_factory : (__) CI.fatptr -> (__) CI.fatptr -> unit
val rocksdb_stub_41_rocksdb_options_set_max_open_files : (__) CI.fatptr -> int -> unit
val rocksdb_stub_42_rocksdb_open : (__) CI.fatptr -> (__) CI.fatptr -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_43_rocksdb_open_for_read_only : (__) CI.fatptr -> (__) CI.fatptr -> Unsigned.uchar -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_44_rocksdb_open_with_ttl : (__) CI.fatptr -> (__) CI.fatptr -> int -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_45_rocksdb_close : (__) CI.fatptr -> unit
val rocksdb_stub_46_rocksdb_writeoptions_create : unit -> CI.voidp
val rocksdb_stub_47_rocksdb_writeoptions_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_48_rocksdb_writeoptions_set_sync : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_49_rocksdb_writeoptions_disable_WAL : (__) CI.fatptr -> int -> unit
val rocksdb_stub_50_rocksdb_flushoptions_create : unit -> CI.voidp
val rocksdb_stub_51_rocksdb_flushoptions_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_52_rocksdb_flushoptions_set_wait : (__) CI.fatptr -> int -> unit
val rocksdb_stub_53_rocksdb_readoptions_create : unit -> CI.voidp
val rocksdb_stub_54_rocksdb_readoptions_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_55_rocksdb_readoptions_set_verify_checksums : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_56_rocksdb_readoptions_set_fill_cache : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_57_rocksdb_readoptions_set_tailing : (__) CI.fatptr -> Unsigned.uchar -> unit
val rocksdb_stub_58_rocksdb_writebatch_create : unit -> CI.voidp
val rocksdb_stub_59_rocksdb_writebatch_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_60_rocksdb_writebatch_clear : (__) CI.fatptr -> unit
val rocksdb_stub_61_rocksdb_writebatch_count : (__) CI.fatptr -> int
val rocksdb_stub_62_rocksdb_writebatch_put : (__) CI.fatptr -> string CI.ocaml -> Unsigned.size_t -> string CI.ocaml -> Unsigned.size_t -> unit
val rocksdb_stub_63_rocksdb_create_iterator : (__) CI.fatptr -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_64_rocksdb_iter_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_65_rocksdb_iter_valid : (__) CI.fatptr -> Unsigned.uchar
val rocksdb_stub_66_rocksdb_iter_seek_to_first : (__) CI.fatptr -> unit
val rocksdb_stub_67_rocksdb_iter_seek_to_last : (__) CI.fatptr -> unit
val rocksdb_stub_68_rocksdb_iter_seek : (__) CI.fatptr -> string CI.ocaml -> Unsigned.size_t -> unit
val rocksdb_stub_69_rocksdb_iter_next : (__) CI.fatptr -> unit
val rocksdb_stub_70_rocksdb_iter_prev : (__) CI.fatptr -> unit
val rocksdb_stub_71_rocksdb_iter_key : (__) CI.fatptr -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_72_rocksdb_iter_value : (__) CI.fatptr -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_73_rocksdb_put : (__) CI.fatptr -> (__) CI.fatptr -> string CI.ocaml -> Unsigned.size_t -> string CI.ocaml -> Unsigned.size_t -> (__) CI.fatptr -> unit
val rocksdb_stub_74_rocksdb_delete : (__) CI.fatptr -> (__) CI.fatptr -> string CI.ocaml -> Unsigned.size_t -> (__) CI.fatptr -> unit
val rocksdb_stub_75_rocksdb_get : (__) CI.fatptr -> (__) CI.fatptr -> string CI.ocaml -> Unsigned.size_t -> (__) CI.fatptr -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_76_rocksdb_write : (__) CI.fatptr -> (__) CI.fatptr -> (__) CI.fatptr -> (__) CI.fatptr -> unit
val rocksdb_stub_77_rocksdb_flush : (__) CI.fatptr -> (__) CI.fatptr -> (__) CI.fatptr -> unit
val rocksdb_stub_78_rocksdb_compact_range : (__) CI.fatptr -> (__) CI.fatptr -> int -> (__) CI.fatptr -> int -> unit
val rocksdb_stub_79_rocksdb_property_value : (__) CI.fatptr -> (__) CI.fatptr -> CI.voidp
val rocksdb_stub_80_rocksdb_free : (__) CI.fatptr -> unit
val rocksdb_stub_81_rocksdb_perfcontext_create : unit -> CI.voidp
val rocksdb_stub_82_rocksdb_perfcontext_reset : (__) CI.fatptr -> unit
val rocksdb_stub_83_rocksdb_perfcontext_destroy : (__) CI.fatptr -> unit
val rocksdb_stub_84_rocksdb_perfcontext_metric : (__) CI.fatptr -> int64 -> int
type 'a result = 'a
type 'a return = 'a
type 'a fn =
| Returns : 'a CI.typ -> 'a return fn
| Function : 'a CI.typ * 'b fn -> ('a -> 'b) fn
val map_result : ('a -> 'b) -> 'a -> 'b
val returning : 'a CI.typ -> 'a return fn
val (@->) : 'a CI.typ -> 'b fn -> ('a -> 'b) fn
val foreign : a b. string -> ('a -> 'b) fn -> 'a -> 'b
val foreign_value : a. string -> 'a Ctypes.typ -> 'a Ctypes.ptr