module type Shredded_Hash_Functor_Sig = functor (
Key
:
Shredded_Type
) ->
functor (
Value
:
Shredded_Type
) ->
sig
.. end
type
hash
type
hash_key = Key.t
type
hash_value = Value.t
val hash_open : string -> int -> bool -> hash
val hash_put : hash ->
hash_key ->
hash_value -> unit
val hash_get : hash ->
hash_key ->
hash_value option
val hash_get_all : hash ->
hash_key ->
hash_value Cursor.cursor
val hash_delete : hash ->
hash_key -> unit
val hash_close : hash -> unit
val hash_sync : hash -> unit
type
hash_cursor
type
cursor_direction =
val hash_cursor_to_cursor : hash_cursor ->
cursor_direction ->
(hash_key *
hash_value)
Cursor.cursor
val hash_cursor_open : hash ->
hash_cursor
val hash_cursor_put : hash_cursor ->
hash_key ->
hash_value -> unit
val hash_cursor_get_next : hash_cursor ->
(hash_key *
hash_value)
option
val hash_cursor_get_prev : hash_cursor ->
(hash_key *
hash_value)
option
val hash_cursor_get_first : hash_cursor ->
(hash_key *
hash_value)
option
val hash_cursor_get_last : hash_cursor ->
(hash_key *
hash_value)
option
val hash_cursor_get_set : hash_cursor ->
hash_key ->
(hash_key *
hash_value)
option
val hash_cursor_get_both : hash_cursor ->
hash_key *
hash_value ->
(hash_key *
hash_value)
option
val hash_cursor_del : hash_cursor -> unit
val hash_cursor_close : hash_cursor -> unit