summaryrefslogtreecommitdiffhomepage
path: root/Network/DNS/Types.hs
diff options
context:
space:
mode:
authorGravatar Kazu Yamamoto <kazu@iij.ad.jp>2011-10-23 21:32:59 -0700
committerGravatar Kazu Yamamoto <kazu@iij.ad.jp>2011-10-23 21:32:59 -0700
commit04c4afa6f7af8be5bd9ac0871ac42510350ac2f0 (patch)
treec368ba3b3664fbfe9b2be45353d07e1e0960adea /Network/DNS/Types.hs
parent1cc2f6a8882ce9e1a79ab8789b50a79b2d021d14 (diff)
parent89d6ab583274e7e10a69bc915b0e48cfdbc6207a (diff)
Merge pull request #3 from yihuang/master
Make this library full capable of decoding and encoding.
Diffstat (limited to 'Network/DNS/Types.hs')
-rw-r--r--Network/DNS/Types.hs11
1 files changed, 6 insertions, 5 deletions
diff --git a/Network/DNS/Types.hs b/Network/DNS/Types.hs
index 58832e0..ce27046 100644
--- a/Network/DNS/Types.hs
+++ b/Network/DNS/Types.hs
@@ -8,18 +8,19 @@ module Network.DNS.Types (
-- * TYPE
, TYPE (..), intToType, typeToInt, toType
-- * DNS Format
- , DNSFormat, header, question, answer, authority, additional
+ , DNSFormat (DNSFormat), header, question, answer, authority, additional
-- * DNS Header
- , DNSHeader, identifier, flags, qdCount, anCount, nsCount, arCount
+ , DNSHeader (DNSHeader), identifier, flags, qdCount, anCount, nsCount, arCount
-- * DNS Flags
- , DNSFlags, qOrR, opcode, authAnswer, trunCation, recDesired, recAvailable, rcode
+ , DNSFlags (DNSFlags), qOrR, opcode, authAnswer, trunCation, recDesired, recAvailable, rcode
-- * DNS Body
, QorR (..)
, OPCODE (..)
, RCODE (..)
- , ResourceRecord, rrname, rrtype, rrttl, rdlen, rdata
- , Question, qname, qtype, makeQuestion
+ , ResourceRecord (ResourceRecord), rrname, rrtype, rrttl, rdlen, rdata
+ , Question (Question), qname, qtype, makeQuestion
, RDATA (..)
+ , responseA, responseAAAA
) where
import Network.DNS.Internal