crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

dnsentry (338B)


      1 #ifndef _DNSENTRY_
      2 #define _DNSENTRY_
      3 
      4 #include "config/config"
      5 #include "error/error"
      6 #include "timestamp/timestamp"
      7 #include "ThreadsAndMutexes/mutex/mutex"
      8 
      9 class DNSEntry {
     10 public:
     11     DNSEntry(): result(0), timestamp()	{}
     12     in_addr_t &resolve(string const &str);
     13 
     14 private:
     15     in_addr_t result;
     16     Timestamp timestamp;
     17 };
     18 
     19 #endif