// Copyright (c) 2010 Martin Knafve / hMailServer.com. // http://www.hmailserver.com #pragma once namespace HM { class TLD : public Singleton { public: TLD(void); ~TLD(void); void Initialize(); bool IsTLD(const String &sName); bool GetDomainNameFromHost(String &sHost, bool &bIsIPAddress); private: std::set tld_; }; }