type prereq =
| Exists of Rr_map.k | |
| Exists_data of Rr_map.b | |
| Not_exists of Rr_map.k | |
| Name_inuse | |
| Not_name_inuse | The type of Update prerequisites. |
equal_prereq a b
is true
if a
and b
are equal, false
otherwise.
type update =
| Remove of Rr_map.k | |
| Remove_all | |
| Remove_single of Rr_map.b | |
| Add of Rr_map.b | The type of an update. |
equal_update a b
is true
if a
is equal to b
, false
otherwise.
type t = prereq list Domain_name.Map.t * update list Domain_name.Map.t
The type of a DNS update: a map indexed by domain name with a list of prerequisites, and a map indexed by domain name of a list of updates.
val empty : t
empty
is the empty update.