Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Domain name and label handling.
Lookup key for the Trie
.
val to_string_list : t -> string list
to_string_list name
is the label list corresponding to name
.
val of_string_list : string list -> t
of_string_list slist
is the domain name corresponding to label list slist
.
val to_string : t -> string
to_string name
is the normal, human-readable string serialization of name
without the trailing dot.
val of_string : string -> t
of_string name
is the domain name parsed out of the normal, human-readable serialization name
.
val string_to_domain_name : string -> t
string_to_domain_name
is of_string
but retained for backward compatibility.
val of_ipaddr : Ipaddr.t -> t
of_ipaddr ip
is the name used for reverse lookup of IP address ip
.
val hashcons_string : string -> string Hashcons.hash_consed
Construct a Hashcons
character-string from a string.
val hashcons : t -> t Hashcons.hash_consed
Construct a Hashcons
domain name (list of labels) from a
t
.
Clear the Hashcons
tables.