package corosync

  1. Overview
  2. Docs
val (>>=) : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
val cmap_handle_t : Unsigned.uint64 Ctypes.typ
type handle = Unsigned.UInt64.t
val cmap_value_types_t : int Ctypes.typ
module CmapValue : sig ... end
val cmap_initialize : Unsigned.uint64 Ctypes_static.ptr -> int
val cmap_finalize : Unsigned.uint64 -> int
val cmap_get_int8 : Unsigned.uint64 -> string -> int Ctypes_static.ptr -> int
val cmap_get_uint8 : Unsigned.uint64 -> string -> Unsigned.uint8 Ctypes_static.ptr -> int
val cmap_get_int16 : Unsigned.uint64 -> string -> int Ctypes_static.ptr -> int
val cmap_get_uint16 : Unsigned.uint64 -> string -> Unsigned.uint16 Ctypes_static.ptr -> int
val cmap_get_int32 : Unsigned.uint64 -> string -> int32 Ctypes_static.ptr -> int
val cmap_get_uint32 : Unsigned.uint64 -> string -> Unsigned.uint32 Ctypes_static.ptr -> int
val cmap_get_int64 : Unsigned.uint64 -> string -> int64 Ctypes_static.ptr -> int
val cmap_get_uint64 : Unsigned.uint64 -> string -> Unsigned.uint64 Ctypes_static.ptr -> int
val cmap_get_float : Unsigned.uint64 -> string -> float Ctypes_static.ptr -> int
val cmap_get_double : Unsigned.uint64 -> string -> float Ctypes_static.ptr -> int
val cmap_get_string : Unsigned.uint64 -> string -> string Ctypes_static.ptr -> int
val cmap_get : Unsigned.uint64 -> string -> unit Ctypes_static.ptr -> Unsigned.uint64 Ctypes_static.ptr -> int Ctypes_static.ptr -> int
val cmap_set_int8 : Unsigned.uint64 -> string -> int -> int
val cmap_set_uint8 : Unsigned.uint64 -> string -> Unsigned.uint8 -> int
val cmap_set_int16 : Unsigned.uint64 -> string -> int -> int
val cmap_set_uint16 : Unsigned.uint64 -> string -> Unsigned.uint16 -> int
val cmap_set_int32 : Unsigned.uint64 -> string -> int32 -> int
val cmap_set_uint32 : Unsigned.uint64 -> string -> Unsigned.uint32 -> int
val cmap_set_int64 : Unsigned.uint64 -> string -> int64 -> int
val cmap_set_uint64 : Unsigned.uint64 -> string -> Unsigned.uint64 -> int
val cmap_set_float : Unsigned.uint64 -> string -> float -> int
val cmap_set_double : Unsigned.uint64 -> string -> float -> int
val cmap_set_string : Unsigned.uint64 -> string -> string -> int
val cmap_set : Unsigned.uint64 -> string -> unit Ctypes_static.ptr -> Unsigned.uint64 -> int -> int
val cmap_iter_handle_t : Unsigned.uint64 Ctypes.typ
val cmap_iter_init : Unsigned.uint64 -> string -> Unsigned.uint64 Ctypes_static.ptr -> int
val cmap_iter_finialize : Unsigned.uint64 -> Unsigned.uint64 -> int
val get_int8 : Unsigned.uint64 -> string -> (int, Corotypes.CsError.t) result
val get_int16 : Unsigned.uint64 -> string -> (int, Corotypes.CsError.t) result
val get_int32 : Unsigned.uint64 -> string -> (int32, Corotypes.CsError.t) result
val get_int64 : Unsigned.uint64 -> string -> (int64, Corotypes.CsError.t) result
val get_string : Unsigned.uint64 -> string -> (string, Corotypes.CsError.t) result
val get_float : Unsigned.uint64 -> string -> (float, Corotypes.CsError.t) result
val get_double : Unsigned.uint64 -> string -> (float, Corotypes.CsError.t) result
val get_by_type : CmapValue.ex -> Unsigned.uint64 -> string -> (string, Corotypes.CsError.t) result
val get : Unsigned.uint64 -> string -> (string, Corotypes.CsError.t) result
val set_int8 : Unsigned.uint64 -> string -> int -> (unit, Corotypes.CsError.t) result
val set_uint8 : Unsigned.uint64 -> string -> Unsigned.uint8 -> (unit, Corotypes.CsError.t) result
val set_int16 : Unsigned.uint64 -> string -> int -> (unit, Corotypes.CsError.t) result
val set_uint16 : Unsigned.uint64 -> string -> Unsigned.uint16 -> (unit, Corotypes.CsError.t) result
val set_int32 : Unsigned.uint64 -> string -> int32 -> (unit, Corotypes.CsError.t) result
val set_uint32 : Unsigned.uint64 -> string -> Unsigned.uint32 -> (unit, Corotypes.CsError.t) result
val set_int64 : Unsigned.uint64 -> string -> int64 -> (unit, Corotypes.CsError.t) result
val set_uint64 : Unsigned.uint64 -> string -> Unsigned.uint64 -> (unit, Corotypes.CsError.t) result
val set_string : Unsigned.uint64 -> string -> string -> (unit, Corotypes.CsError.t) result
val set_float : Unsigned.uint64 -> string -> float -> (unit, Corotypes.CsError.t) result
val set_double : Unsigned.uint64 -> string -> float -> (unit, Corotypes.CsError.t) result
val set_by_type : 'a. handle -> string -> 'a CmapValue.value -> (unit, Corotypes.CsError.t) result
val set : handle -> string -> 'a CmapValue.value -> (unit, Corotypes.CsError.t) result
val get_prefix_rec : Unsigned.uint64 -> 'a -> Unsigned.uint64 -> ((string * string) list, Corotypes.CsError.t) result
val get_prefix : Unsigned.uint64 -> string -> ((string * string) list, Corotypes.CsError.t) 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

OCaml

Innovation. Community. Security.