package libevent

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type event
type event_base
type event_flags =
  1. | TIMEOUT
  2. | READ
  3. | WRITE
  4. | SIGNAL
type event_callback = Unix.file_descr -> event_flags -> unit
val create : unit -> event
val fd : event -> Unix.file_descr
val signal : event -> int
val set : event_base -> event -> Unix.file_descr -> event_flags list -> persist:bool -> event_callback -> unit
val set_timer : event_base -> event -> persist:bool -> (unit -> unit) -> unit
val set_signal : event_base -> event -> signal:int -> persist:bool -> event_callback -> unit
val add : event -> float option -> unit
val del : event -> unit
val pending : event -> event_flags list -> bool
val activate : event -> event_flags list -> unit
val dispatch : event_base -> unit
type loop_flags =
  1. | ONCE
  2. | NONBLOCK
val loop : event_base -> loop_flags -> unit
val init : unit -> event_base
val reinit : event_base -> unit
val free : event_base -> unit
module Global : sig ... end
OCaml

Innovation. Community. Security.