package dlm

  1. Overview
  2. Docs

Parameters

module F : Cstubs.FOREIGN

Signature

type dlm_lshandle_t = unit Ctypes.ptr
val dlm_lshandle_t : dlm_lshandle_t Ctypes.typ
val dlm_lshandle_t_opt : dlm_lshandle_t option Ctypes.typ
val dlm_create_lockspace : (string -> PosixTypes.mode_t -> dlm_lshandle_t option F.return) F.result
val dlm_open_lockspace : (string -> dlm_lshandle_t option F.return) F.result
val dlm_ls_pthread_init : (dlm_lshandle_t -> int F.return) F.result
val dlm_release_lockspace : (string -> dlm_lshandle_t -> int -> int F.return) F.result
val dlm_close_lockspace : (dlm_lshandle_t -> int F.return) F.result
val mode : Unsigned.uint32 Ctypes.typ
val flags : Unsigned.uint32 Ctypes.typ
val dlm_lksb : Types.Dlm_lksb.t Ctypes_static.ptr Ctypes.typ
val ast_cb : unit Ctypes_static.ptr option Ctypes.typ
val bast_cb : unit Ctypes_static.ptr option Ctypes.typ
val dlm_ls_lockx : (dlm_lshandle_t -> Unsigned.uint32 -> Types.Dlm_lksb.t Ctypes_static.ptr -> Unsigned.uint32 -> string -> Unsigned.uint -> Unsigned.uint32 -> unit Ctypes_static.ptr option -> unit Ctypes_static.ptr option -> unit Ctypes_static.ptr option -> Unsigned.uint64 Ctypes_static.ptr option -> Unsigned.uint64 Ctypes_static.ptr option -> int F.return) F.result
val dlm_ls_unlock_wait : (dlm_lshandle_t -> Unsigned.uint32 -> Unsigned.uint32 -> Types.Dlm_lksb.t Ctypes_static.ptr -> int F.return) F.result
OCaml

Innovation. Community. Security.