zone.lisp: General support for unknown record types.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 30 Apr 2014 15:17:09 +0000 (16:17 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 30 Apr 2014 23:48:49 +0000 (00:48 +0100)
commit9f408c6016659a51546516b41c96e926bace3847
treec3c0991618e673083327dd93e3efcb495625d818
parent146571dae4dcaa1d2c543140d55cbd14c286aaf3
zone.lisp: General support for unknown record types.

There's now a `zone-record-rrdata' protocol for zone record types to
serialize themselves in the correct format, and implementations for all
of the record types currently emitted.

There's also a `zone-write-raw-rrdata' protocol for writing these out
when the format doesn't have a better plan, which is used by a (new)
default method on `zone-write-record'.
zone.lisp