module MrMime_header: sig
.. end
type
raw = Rfc2047.raw
=
type
unstructured = [ `CR of int
| `CRLF
| `Encoded of string * raw
| `LF of int
| `Text of string
| `WSP ] list
type
phrase_or_msg_id = [ `MsgID of MrMime_msgID.msg_id
| `Phrase of
[ `Dot
| `Encoded of string * raw
| `Word of [ `Atom of string | `String of string ] ] list ]
type
field = Rfc5322.field
module Map: module type of Map.Make(String)
= {
}
val pp_raw : Format.formatter -> raw -> unit
val pp_unstructured : Format.formatter -> unstructured -> unit
val pp_phrase_or_msg_id : Format.formatter -> phrase_or_msg_id -> unit
val pp_field : Format.formatter -> field -> unit
val pp : Format.formatter -> header -> unit
module Encoder: sig
.. end
module Decoder: sig
.. end
val to_string : header -> string
val of_string : ?chunk:int ->
string -> (header * [> field ] list) option
val of_string_raw : ?chunk:int ->
string ->
int ->
int -> ((header * [> field ] list) * int) option
val equal : header -> header -> bool