moved 3 lines of Cname constructors from dnscache.cpp to cname.h
[pingcheck] / src / dns / dnscache.cpp
index a0c2a1a..118f802 100644 (file)
@@ -47,27 +47,9 @@ namespace Config
 {
     const int SAVE_TIMER_SECONDS = 60;
     const int CACHE_TIME_WARP_THRESH_HOURS = 24;
+    const int CACHE_REMOVE_OUTDATED_DAYS = 60;
 }
 
-// -----------------------------------------------------------------------------
-// Cname
-// -----------------------------------------------------------------------------
-
-Cname::Cname()
-    : Host()
-    , Ttl()
-{}
-
-Cname::Cname(const std::string &host, const uint32_t ttl)
-    : Host( host )
-    , Ttl( ttl )
-{}
-
-Cname::Cname(const std::string &host, const TimeToLive &ttl)
-    : Host( host )
-    , Ttl( ttl )
-{}
-
 
 // -----------------------------------------------------------------------------
 // DNS Cache constructor / destructor