package corosync

  1. Overview
  2. Docs
OCaml Corosync binding

Install

Dune Dependency

Authors

Maintainers

Sources

corosync-0.0.1.tbz
sha256=c1cf8ae96757c0b9f91b7619dc0f6417782e0734404965667796098c0710fafd
sha512=b936be73cf049c5499e6eafef22caa459cf52553d0412f777213c810bae38bc77b55843edf671652115751279da66e834d4d9b7391e1d85aca4975ab4fd9626f

doc/corosync.lib/Corosync_lib/Cfg/index.html

Module Corosync_lib.CfgSource

Sourceval (>>=) : ('a, 'b) result -> ('a -> ('c, 'b) result) -> ('c, 'b) result
Sourceval corosync_cfg_handle_t : Unsigned.uint64 Ctypes.typ
Sourcetype corosync_cfg_callbacks_t
Sourcetype corosync_cfg_node_address_t
Sourceval corosync_cfg_shutdown_flags_t : int Ctypes.typ
Sourceval corosync_cfg_shutdown_callback_t : (Unsigned.uint64 -> int -> unit) Ctypes.fn
Sourceval corosync_cfg_shutdown_callback : (Unsigned.uint64 -> int -> unit, corosync_cfg_callbacks_t Ctypes.structure) Ctypes.field
Sourceval corosync_cfg_initialize : Unsigned.uint64 Ctypes_static.ptr -> corosync_cfg_callbacks_t Ctypes.structure Ctypes_static.ptr -> int
Sourceval corosync_cfg_finalize : Unsigned.uint64 -> int
Sourceval corosync_cfg_local_get : Unsigned.uint64 -> Unsigned.uint Ctypes_static.ptr -> int
Sourceval corosync_cfg_get_node_addrs : Unsigned.uint64 -> Unsigned.uint -> Unsigned.uint64 -> int Ctypes_static.ptr -> corosync_cfg_node_address_t Ctypes.structure Ctypes_static.ptr -> int
Sourceval corosync_cfg_reload_config : Unsigned.uint64 -> int
Sourceval cfg_local_get : Unsigned.uint64 -> (int, Corotypes.CsError.t) result
Sourcetype cfg_node_address = {
  1. addr_len : int;
  2. addr : string;
}
Sourceval cfg_get_node_addrs : Unsigned.uint64 -> int -> (cfg_node_address list, Corotypes.CsError.t) result
Sourceval cfg_reload_config : Unsigned.uint64 -> (unit, Corotypes.CsError.t) result
Sourceval with_handle : (Unsigned.uint64 -> ('a, Corotypes.CsError.t) result) -> ('a, Corotypes.CsError.t) result
OCaml

Innovation. Community. Security.