resolve-0.1.0.0: A name resolusion library

Safe HaskellNone
LanguageHaskell2010

Resolve.DNS.Types

Documentation

newtype NAME Source #

Constructors

NAME [LABEL] 

Instances

Eq NAME Source # 

Methods

(==) :: NAME -> NAME -> Bool #

(/=) :: NAME -> NAME -> Bool #

Ord NAME Source # 

Methods

compare :: NAME -> NAME -> Ordering #

(<) :: NAME -> NAME -> Bool #

(<=) :: NAME -> NAME -> Bool #

(>) :: NAME -> NAME -> Bool #

(>=) :: NAME -> NAME -> Bool #

max :: NAME -> NAME -> NAME #

min :: NAME -> NAME -> NAME #

Show NAME Source # 

Methods

showsPrec :: Int -> NAME -> ShowS #

show :: NAME -> String #

showList :: [NAME] -> ShowS #

data Message Source #

Constructors

Message 

Fields

data Header Source #

Constructors

Header 

Fields

Instances

data QR Source #

Constructors

Query 
Response 

Instances

Eq QR Source # 

Methods

(==) :: QR -> QR -> Bool #

(/=) :: QR -> QR -> Bool #

Show QR Source # 

Methods

showsPrec :: Int -> QR -> ShowS #

show :: QR -> String #

showList :: [QR] -> ShowS #

data OPCODE Source #

Constructors

STD 
INV 
SSR 

data RCODE Source #

Instances

Eq RCODE Source # 

Methods

(==) :: RCODE -> RCODE -> Bool #

(/=) :: RCODE -> RCODE -> Bool #

Ord RCODE Source # 

Methods

compare :: RCODE -> RCODE -> Ordering #

(<) :: RCODE -> RCODE -> Bool #

(<=) :: RCODE -> RCODE -> Bool #

(>) :: RCODE -> RCODE -> Bool #

(>=) :: RCODE -> RCODE -> Bool #

max :: RCODE -> RCODE -> RCODE #

min :: RCODE -> RCODE -> RCODE #

Show RCODE Source # 

Methods

showsPrec :: Int -> RCODE -> ShowS #

show :: RCODE -> String #

showList :: [RCODE] -> ShowS #

data CLASS Source #

Constructors

IN 
CH 
HS 
OTHER Word16 

Instances

Eq CLASS Source # 

Methods

(==) :: CLASS -> CLASS -> Bool #

(/=) :: CLASS -> CLASS -> Bool #

Ord CLASS Source # 

Methods

compare :: CLASS -> CLASS -> Ordering #

(<) :: CLASS -> CLASS -> Bool #

(<=) :: CLASS -> CLASS -> Bool #

(>) :: CLASS -> CLASS -> Bool #

(>=) :: CLASS -> CLASS -> Bool #

max :: CLASS -> CLASS -> CLASS #

min :: CLASS -> CLASS -> CLASS #

Show CLASS Source # 

Methods

showsPrec :: Int -> CLASS -> ShowS #

show :: CLASS -> String #

showList :: [CLASS] -> ShowS #

data QCLASS Source #

Constructors

CLASS CLASS 
ANY 

data QTYPE Source #

Instances

Eq QTYPE Source # 

Methods

(==) :: QTYPE -> QTYPE -> Bool #

(/=) :: QTYPE -> QTYPE -> Bool #

Ord QTYPE Source # 

Methods

compare :: QTYPE -> QTYPE -> Ordering #

(<) :: QTYPE -> QTYPE -> Bool #

(<=) :: QTYPE -> QTYPE -> Bool #

(>) :: QTYPE -> QTYPE -> Bool #

(>=) :: QTYPE -> QTYPE -> Bool #

max :: QTYPE -> QTYPE -> QTYPE #

min :: QTYPE -> QTYPE -> QTYPE #

Show QTYPE Source # 

Methods

showsPrec :: Int -> QTYPE -> ShowS #

show :: QTYPE -> String #

showList :: [QTYPE] -> ShowS #

data Question Source #

Constructors

Question 

Fields

data RR Source #

Constructors

RR 

Fields

Instances

Eq RR Source # 

Methods

(==) :: RR -> RR -> Bool #

(/=) :: RR -> RR -> Bool #

Show RR Source # 

Methods

showsPrec :: Int -> RR -> ShowS #

show :: RR -> String #

showList :: [RR] -> ShowS #