Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
How to build up a DNS trie from separate RRs.
Loader database: the DNS trie plus a hash table of other names in use.
val new_db : unit -> db
Make a new, empty database.
val no_more_updates : db -> unit
Call when guaranteed there will be no more updates.
Insert RRs in the database: args are rdata, ttl, owner, db.
val add_a_rr : Ipaddr.V4.t -> int32 -> Name.t -> db -> unit
val add_aaaa_rr : Ipaddr.V6.t -> int32 -> Name.t -> db -> unit
val add_wks_rr :
Ipaddr.V4.t ->
Cstruct.byte ->
string ->
int32 ->
Name.t ->
db ->
unit