virtual int perform_update(const std::string& ip) = 0;
- void update(const std::string& ip, const time_t current_time);
+ void update(const std::string& ip, const time_t current_time, bool changed_to_online);
- bool update_allowed(const time_t current_time);
+ bool update_allowed(const time_t current_time, bool changed_to_online);
void set_last_update(const time_t current_time);