X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=blobdiff_plain;f=src%2FTSN%2FFeedHosts.hs;h=81f57aa53f1506d06821036e7fa8d9d81c2a52a6;hp=d2f295bea53a1a1ff40a448b07983c7a9cd216e3;hb=ac3a81eb6d0f8ca4e212752d5b390a4fc220cceb;hpb=f6cb0ba712e06e52d080b86e9eba6c3585a7514b diff --git a/src/TSN/FeedHosts.hs b/src/TSN/FeedHosts.hs index d2f295b..81f57aa 100644 --- a/src/TSN/FeedHosts.hs +++ b/src/TSN/FeedHosts.hs @@ -22,10 +22,13 @@ import System.Console.CmdArgs.Default (Default(..)) import Data.Typeable (Typeable) +-- | A (wrapper around a) list of hostnames that supply the XML feed. +-- newtype FeedHosts = FeedHosts { get_feed_hosts :: [String] } deriving (Data, Show, Typeable) + instance Default FeedHosts where -- | The default list of feed hosts. These were found by checking -- PTR records in the neighborhood of the IP address in use. There