module Mailcap: sig
.. end
Line structure for mailcap entries. See mailcap(5).
val content_type : < mailcap : Line.present; .. > Line.t -> string
The content type to which this mailcap entry applies. (accessor, required)
val set_content_type : string -> (< mailcap : Line.present; .. > as 'a) Line.t -> 'a Line.t
val command : < mailcap : Line.present; .. > Line.t -> string
The command to view files of this type. (accessor, required)
val set_command : string -> (< mailcap : Line.present; .. > as 'a) Line.t -> 'a Line.t
val flags : < mailcap : Line.present; .. > Line.t -> string list
Mailcap flags such as needsterminal or copiousoutput. (accessor, required)
val set_flags : string list -> (< mailcap : Line.present; .. > as 'a) Line.t -> 'a Line.t
val fields : < mailcap : Line.present; .. > Line.t -> (string * string) list
Association list of named fields such as print= or compose=. (accessor, required, default = []
)
val set_fields : (string * string) list ->
(< mailcap : Line.present; .. > as 'a) Line.t -> 'a Line.t
val create : content_type:string ->
command:string ->
flags:string list ->
fields:(string * string) list ->
< delim : 'a; fstab : 'b; group : 'c; key_value : 'd; mailcap : Line.absent;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i >
Line.t ->
< delim : 'a; fstab : 'b; group : 'c; key_value : 'd; mailcap : Line.present;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i >
Line.t