package camltc

  1. Overview
  2. Docs
type bdb
val oreader : int
val owriter : int
val ocreat : int
val otrunc : int
val onolck : int
val olcknb : int
val otsync : int
val default_mode : int
val readonly_mode : int
type bdbcur
val first : bdb -> bdbcur -> unit
val next : bdb -> bdbcur -> unit
val prev : bdb -> bdbcur -> unit
val last : bdb -> bdbcur -> unit
val key : bdb -> bdbcur -> string
val value : bdb -> bdbcur -> string
val key3 : bdb -> bdbcur -> string
val value3 : bdb -> bdbcur -> string
val record : bdb -> bdbcur -> string * string
val jump : bdb -> bdbcur -> string -> unit
val current : int
val before : int
val after : int
val cur_put : bdb -> bdbcur -> string -> int -> unit
val cur_out : bdb -> bdbcur -> unit
val out : bdb -> string -> unit
val put : bdb -> string -> string -> unit
val get : bdb -> string -> string
val get3 : bdb -> string -> string
val get3_generic : bdb -> string -> int -> int -> string
val get_nolock : bdb -> string -> string
val putkeep : bdb -> string -> string -> unit
val _make : unit -> bdb
val _delete : bdb -> unit
val _dbopen : bdb -> string -> int -> unit
val _dbclose : bdb -> unit
val _dbsync : bdb -> unit
val _dbsync_nolock : bdb -> unit
val _cur_make : bdb -> bdbcur
val _cur_delete : bdbcur -> unit
val _tranbegin : bdb -> unit
val _trancommit : bdb -> unit
val _tranabort : bdb -> unit
val range : bdb -> string option -> bool -> string option -> bool -> int -> string array
val prefix_keys : bdb -> string -> int -> string array
val bdb_optimize : bdb -> unit
val _bdb_defrag : bdb -> int64 -> int
val defrag : ?step:int64 -> bdb -> int
val get_key_count : bdb -> int64
val setcache : bdb -> int -> int -> unit
type opt =
  1. | BDBTLARGE
val _tune : bdb -> int -> unit
val tune : bdb -> opt list -> unit
val with_cursor : bdb -> (bdb -> bdbcur -> 'a) -> 'b
val delete_prefix : bdb -> string -> int
val exists : bdb -> string -> bool
type direction =
  1. | Ascending
  2. | Descending
type include_key = bool
type start_and_direction =
  1. | Key of string * include_key * direction
  2. | OmegaDescending
val range' : bdb -> start_and_direction -> ((string * string) -> 'a -> 'a * bool) -> 'a0 -> 'a1
type upper_border =
  1. | BKey of string * include_key
  2. | BOmega
val range_ascending : bdb -> string -> include_key -> upper_border -> ((S.t * string) -> 'a -> 'b * bool) -> 'c -> 'd
val range_descending : bdb -> upper_border -> string -> bool -> ((S.t * string) -> 'a -> 'b * bool) -> 'c -> 'd
val range_entries : string -> bdb -> string option -> include_key -> string option -> include_key -> int -> (string * string) array
val rev_range_entries : string -> bdb -> string option -> include_key -> string option -> bool -> int -> (string * string) list
val _flags : bdb -> int
type flag =
  1. | BDBFOPEN
  2. | BDBFFATAL
val flags : bdb -> flag list
val _copy_from_cursor : bdb -> bdbcur -> bdb -> int -> int
val copy_from_cursor : source:bdb -> cursor:bdbcur -> target:bdb -> max:int option -> int
val create : ?mode:int -> ?lcnum:int -> ?ncnum:int -> string -> opt list -> bdb
val close : bdb -> unit
val delete : bdb -> unit
val sync : bdb -> unit
val get_cursor : bdb -> bdbcur
OCaml

Innovation. Community. Security.