added option min-time-between-resolves-option and tests for it
[pingcheck] / src / config / configuration.h
index ca0c5a7..32e9d13 100644 (file)
@@ -98,6 +98,10 @@ public:
     void set_resolved_ip_ttl_threshold(
             const int resolved_ip_ttl_threshold );
 
+    int get_min_time_between_resolves() const;
+    void set_min_time_between_resolves(
+            const int min_time_between_resolves );
+
     std::string get_dns_cache_file() const;
     void set_dns_cache_file(const std::string &dns_cache_file);
 
@@ -136,6 +140,7 @@ private:
     int PingReplyTimeout;
     int MaxAddressResolutionAttempts;
     int ResolvedIpTtlThreshold;
+    int MinTimeBetweenResolves;
     std::string DnsCacheFile;
     HostList Hosts;
     float RatioRandomHosts;