Module Liquidsoap_lang_values.Hooks

Capabilities the language needs but cannot implement, filled in by the streaming core. See the comment at the top of hooks.ml.

type log = < f : 'a. int -> ('a, unit, string, unit) Stdlib.format4 -> 'a ; critical : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a ; severe : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a ; important : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a ; info : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a ; debug : 'a. ('a, unit, string, unit) Stdlib.format4 -> 'a >
val make_log : (string list -> log) Stdlib.ref
val log : string list -> log
val liq_libs_dir : (unit -> string) Stdlib.ref
val log_path : string option Stdlib.ref
val eval_check : (env:(string * Value.t) list -> tm:Liquidsoap_lang_ast.Term.t -> Value.t -> unit) Stdlib.ref
type encoder_params = [ `Anonymous of string | `Encoder of encoder | `Labelled of string * Value.t ] list
and encoder = string * encoder_params
val make_encoder : (pos:Liquidsoap_lang_prelude.Pos.Option.t -> encoder -> Value.t) Stdlib.ref
val has_encoder : (Value.t -> bool) Stdlib.ref
val mk_clock_ty : (?pos:Liquidsoap_lang_ast.Term.parsed_pos -> unit -> Liquidsoap_lang_types.Type.t) Stdlib.ref
val source_methods_t : (unit -> Liquidsoap_lang_types.Type.t) Stdlib.ref
val getpwnam : (string -> Unix.passwd_entry) Stdlib.ref