sig
type splitter = Line.t -> Line.t
type adaptor = Line.t Shtream.t -> Line.t Shtream.t
type fitting_adaptor = unit -> (Line.t -> Line.t) Fitting.t
val make_adaptor : ?reader:Reader.t -> Adaptor.splitter -> Adaptor.adaptor
module Convert :
sig
val convert :
tyname:string -> loc:string -> (string -> 'a) -> string -> 'a
val to_int : loc:string -> string -> int
val to_float : loc:string -> string -> float
end
module Delim :
sig
val adaptor : ?options:Delimited.options -> Adaptor.adaptor
val fitting : ?options:Delimited.options -> Adaptor.fitting_adaptor
val reader : ?options:Delimited.options -> Reader.t
val splitter : ?options:Delimited.options -> Adaptor.splitter
module type SPEC = sig val options : Delimited.options end
module type S =
sig
val options : Delimited.options
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Make : functor (Spec : SPEC) -> S
module type SPEC_NAMES =
sig val options : Delimited.options val names : string list end
module type S_NAMES =
sig
val options : Delimited.options
val names : string list
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Make_names : functor (Spec : SPEC_NAMES) -> S_NAMES
end
module SimpleFlatFile :
sig
val adaptor :
?comments:string ->
?blanks:bool -> ?max:int -> char -> Adaptor.adaptor
val fitting :
?comments:string ->
?blanks:bool -> ?max:int -> char -> Adaptor.fitting_adaptor
val reader : ?comments:string -> ?blanks:bool -> Reader.t
val splitter : ?max:int -> char -> Adaptor.splitter
module type SPEC =
sig
val comments : string option
val blanks : bool
val max : int
val delim : char
end
module type S =
sig
val comments : string option
val blanks : bool
val max : int
val delim : char
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Make : functor (Spec : SPEC) -> S
module type SPEC_NAMES =
sig
val comments : string option
val blanks : bool
val max : int
val delim : char
val names : string list
end
module type S_NAMES =
sig
val comments : string option
val blanks : bool
val max : int
val delim : char
val names : string list
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Make_names : functor (Spec : SPEC_NAMES) -> S_NAMES
end
module Key_value :
sig
val adaptor :
?quiet:bool -> ?comment:string -> ?delim:char -> Adaptor.adaptor
val fitting :
?quiet:bool ->
?comment:string -> ?delim:char -> Adaptor.fitting_adaptor
val reader : ?comment:string -> Reader.t
val splitter : ?quiet:bool -> ?delim:char -> Adaptor.splitter
module type SPEC = sig val delim : char val comment : string end
module type S =
sig
val delim : char
val comment : string
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Make : functor (Spec : SPEC) -> S
end
module Key_value_section :
sig
val adaptor :
?comment:string ->
?delim:char -> ?end_section:string -> string -> Adaptor.adaptor
val fitting :
?comment:string ->
?delim:char ->
?end_section:string -> string -> Adaptor.fitting_adaptor
val reader : ?comment:string -> Reader.t
val splitter :
?delim:char -> ?end_section:string -> string -> Adaptor.splitter
module type SPEC =
sig
val section : string
val delim : char
val comment : string
val end_section : string option
end
module type S =
sig
val section : string
val delim : char
val comment : string
val end_section : string option
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val new_splitter : unit -> Adaptor.splitter
end
module Make : functor (Spec : SPEC) -> S
end
module Csv :
sig
val adaptor : ?trim_space:bool -> Adaptor.adaptor
val fitting : ?trim_space:bool -> Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : ?trim_space:bool -> Adaptor.splitter
end
module Passwd :
sig
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Group :
sig
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Fstab :
sig
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Stat :
sig
val adaptor : ?dir:string -> Adaptor.adaptor
val fitting : ?dir:string -> Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : ?dir:string -> Adaptor.splitter
end
module Ps :
sig
val adaptor : ?skip:bool -> Adaptor.adaptor
val fitting : ?skip:bool -> Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : ?skip:bool -> Adaptor.splitter
end
module Mailcap :
sig
val adaptor : Adaptor.adaptor
val fitting : Adaptor.fitting_adaptor
val reader : Reader.t
val splitter : Adaptor.splitter
end
module Ssh_config : Key_value_section.S
module Etc_aliases : Key_value.S
module Etc_hosts : Key_value.S
module Ini_file : Key_value_section.S
end