[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: dnspacket.ml
I guess this file is packed into the Dns pack. So to access function <fun> inside it, you can use either : --- open Dns.Dnspacket <fun> --- or simply: --- Dns.Dnspacket.<fun> --- On Jul 26, 2011, at 6:17 PM, Éireann Leverett wrote: > DNS/OCaml gods, > > So for example one of the files I might be interested in linking in for a > resolver would be dnspacket.ml which would help me parse dns replies. Do I do > this using a statement within my resolver file like: > > Open Dnspacket;; > > and then link to the location of the Dnspacket.cma at compile time? > > Or is there a 'Mirage way' to do this? > > Eireann >
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |