Module Corosync_lib.Votequorum
val (>>=) :
('a, 'b) Stdlib.result ->
('a -> ('c, 'b) Stdlib.result) ->
('c, 'b) Stdlib.result
val votequorum_qdevice_max_name_len : int
val votequorum_handle_t : Unsigned.uint64 Ctypes.typ
val vnode_nodeid :
(Unsigned.uint32, votequorum_node_t Ctypes.structure) Ctypes.field
type votequorum_ring_id_t
val votequorum_quorum_notification_fn_t :
(Unsigned.uint64 ->
Unsigned.uint64 ->
Unsigned.uint32 ->
Unsigned.uint32 ->
votequorum_node_t Ctypes.structure Ctypes_static.ptr ->
unit Ctypes_static.ptr)
Ctypes.fn
val votequorum_nodelist_notification_fn_t :
(Unsigned.uint64 ->
Unsigned.uint64 ->
votequorum_ring_id_t Ctypes.structure ->
Unsigned.uint32 ->
unit Ctypes_static.ptr)
Ctypes.fn
val votequorum_expectedvotes_notification_fn_t :
(Unsigned.uint64 ->
Unsigned.uint64 ->
Unsigned.uint32 ->
unit Ctypes_static.ptr)
Ctypes.fn
type votequorum_callbacks_t
val votequorum_quorum_notify_fn :
(Unsigned.uint64 ->
Unsigned.uint64 ->
Unsigned.uint32 ->
Unsigned.uint32 ->
votequorum_node_t Ctypes.structure Ctypes_static.ptr ->
unit Ctypes_static.ptr,
votequorum_callbacks_t Ctypes.structure)
Ctypes.field
val votequorum_expectedvotes_notify_fn :
(Unsigned.uint64 ->
Unsigned.uint64 ->
votequorum_ring_id_t Ctypes.structure ->
Unsigned.uint32 ->
unit Ctypes_static.ptr,
votequorum_callbacks_t Ctypes.structure)
Ctypes.field
val votequorum_nodelist_notify_fn :
(Unsigned.uint64 ->
Unsigned.uint64 ->
votequorum_ring_id_t Ctypes.structure ->
Unsigned.uint32 ->
unit Ctypes_static.ptr,
votequorum_callbacks_t Ctypes.structure)
Ctypes.field
val node_id : (Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val node_state : (Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val node_votes : (Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val node_expected_votes :
(Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val highest_votes :
(Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val total_votes :
(Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val quorum : (Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val qdevice_votes :
(Unsigned.uint, votequorum_info Ctypes.structure) Ctypes.field
val qdevice_name :
(char Ctypes_static.carray, votequorum_info Ctypes.structure) Ctypes.field
type vinfo = {
node_id : Unsigned.uint;
node_state : Unsigned.uint;
node_votes : Unsigned.uint;
node_expected_votes : Unsigned.uint;
highest_votes : Unsigned.uint;
total_votes : Unsigned.uint;
quorum : Unsigned.uint;
flags : Unsigned.uint;
qdevice_votes : Unsigned.uint;
qdevice_name : string;
}