Corosync_lib.Cmap
val cmap_initialize : Unsigned.uint64 Ctypes_static.ptr -> Corotypes.CsError.t
val cmap_finalize : Unsigned.uint64 -> Corotypes.CsError.t
val cmap_get_int8 :
Unsigned.uint64 ->
string ->
int Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_uint8 :
Unsigned.uint64 ->
string ->
Unsigned.uint8 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_int16 :
Unsigned.uint64 ->
string ->
int Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_uint16 :
Unsigned.uint64 ->
string ->
Unsigned.uint16 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_int32 :
Unsigned.uint64 ->
string ->
int32 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_uint32 :
Unsigned.uint64 ->
string ->
Unsigned.uint32 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_int64 :
Unsigned.uint64 ->
string ->
int64 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_uint64 :
Unsigned.uint64 ->
string ->
Unsigned.uint64 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_float :
Unsigned.uint64 ->
string ->
float Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_double :
Unsigned.uint64 ->
string ->
float Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get_string :
Unsigned.uint64 ->
string ->
string Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_get :
Unsigned.uint64 ->
string ->
unit Ctypes_static.ptr ->
Unsigned.uint64 Ctypes_static.ptr ->
int Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_set_int8 : Unsigned.uint64 -> string -> int -> Corotypes.CsError.t
val cmap_set_uint8 :
Unsigned.uint64 ->
string ->
Unsigned.uint8 ->
Corotypes.CsError.t
val cmap_set_int16 : Unsigned.uint64 -> string -> int -> Corotypes.CsError.t
val cmap_set_uint16 :
Unsigned.uint64 ->
string ->
Unsigned.uint16 ->
Corotypes.CsError.t
val cmap_set_int32 : Unsigned.uint64 -> string -> int32 -> Corotypes.CsError.t
val cmap_set_uint32 :
Unsigned.uint64 ->
string ->
Unsigned.uint32 ->
Corotypes.CsError.t
val cmap_set_int64 : Unsigned.uint64 -> string -> int64 -> Corotypes.CsError.t
val cmap_set_uint64 :
Unsigned.uint64 ->
string ->
Unsigned.uint64 ->
Corotypes.CsError.t
val cmap_set_float : Unsigned.uint64 -> string -> float -> Corotypes.CsError.t
val cmap_set_double : Unsigned.uint64 -> string -> float -> Corotypes.CsError.t
val cmap_set_string :
Unsigned.uint64 ->
string ->
string ->
Corotypes.CsError.t
val cmap_set :
Unsigned.uint64 ->
string ->
unit Ctypes_static.ptr ->
Unsigned.uint64 ->
int ->
Corotypes.CsError.t
val cmap_iter_init :
Unsigned.uint64 ->
string ->
Unsigned.uint64 Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_iter_next :
Unsigned.uint64 ->
Unsigned.uint64 ->
char Ctypes_static.ptr ->
Unsigned.uint64 Ctypes_static.ptr ->
int Ctypes_static.ptr ->
Corotypes.CsError.t
val cmap_iter_finialize :
Unsigned.uint64 ->
Unsigned.uint64 ->
Corotypes.CsError.t
module CmapValue : sig ... end
val get_int8 :
Unsigned.uint64 ->
string ->
(int, Corotypes.CsError.t) Stdlib.result
val get_uint8 :
Unsigned.uint64 ->
string ->
(Unsigned.uint8, Corotypes.CsError.t) Stdlib.result
val get_int16 :
Unsigned.uint64 ->
string ->
(int, Corotypes.CsError.t) Stdlib.result
val get_uint16 :
Unsigned.uint64 ->
string ->
(Unsigned.uint16, Corotypes.CsError.t) Stdlib.result
val get_int32 :
Unsigned.uint64 ->
string ->
(int32, Corotypes.CsError.t) Stdlib.result
val get_uint32 :
Unsigned.uint64 ->
string ->
(Unsigned.uint32, Corotypes.CsError.t) Stdlib.result
val get_int64 :
Unsigned.uint64 ->
string ->
(int64, Corotypes.CsError.t) Stdlib.result
val get_uint64 :
Unsigned.uint64 ->
string ->
(Unsigned.uint64, Corotypes.CsError.t) Stdlib.result
val get_string :
Unsigned.uint64 ->
string ->
(string, Corotypes.CsError.t) Stdlib.result
val get_float :
Unsigned.uint64 ->
string ->
(float, Corotypes.CsError.t) Stdlib.result
val get_double :
Unsigned.uint64 ->
string ->
(float, Corotypes.CsError.t) Stdlib.result
val get_val :
'a. 'a CmapValue.value ->
handle ->
string ->
('a, Corotypes.CsError.t) Stdlib.Result.t
val get_by_type :
int ->
Unsigned.uint64 ->
string ->
(string, Corotypes.CsError.t) Stdlib.result
val get :
'a. 'a CmapValue.value ->
handle ->
string ->
('a, Corotypes.CsError.t) Stdlib.Result.t
val set_int8 :
Unsigned.uint64 ->
string ->
int ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_uint8 :
Unsigned.uint64 ->
string ->
Unsigned.uint8 ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_int16 :
Unsigned.uint64 ->
string ->
int ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_uint16 :
Unsigned.uint64 ->
string ->
Unsigned.uint16 ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_int32 :
Unsigned.uint64 ->
string ->
int32 ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_uint32 :
Unsigned.uint64 ->
string ->
Unsigned.uint32 ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_int64 :
Unsigned.uint64 ->
string ->
int64 ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_uint64 :
Unsigned.uint64 ->
string ->
Unsigned.uint64 ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_string :
Unsigned.uint64 ->
string ->
string ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_float :
Unsigned.uint64 ->
string ->
float ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_double :
Unsigned.uint64 ->
string ->
float ->
(unit, Corotypes.CsError.t) Stdlib.result
val set_by_type :
'a. handle ->
string ->
'a CmapValue.value ->
(unit, Corotypes.CsError.t) Stdlib.result
val set :
handle ->
string ->
'a CmapValue.value ->
(unit, Corotypes.CsError.t) Stdlib.result
val get_prefix_rec :
Unsigned.uint64 ->
'a ->
Unsigned.uint64 ->
((string * string) list, Corotypes.CsError.t) Stdlib.result
val get_prefix :
Unsigned.uint64 ->
string ->
((string * string) list, Corotypes.CsError.t) Stdlib.result
val with_handle :
(Unsigned.uint64 -> ('a, Corotypes.CsError.t) Stdlib.result) ->
('b, Corotypes.CsError.t) Stdlib.result
with_handle will take a function f which takes a handle and performs operations with that handle. with_handle f will automatically create that handle and pass it to f and close that handle afterwards