X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Fservice.hpp;h=fd5924f9c34dffacc11e6a10dcd882f085cb9f14;hb=0ebcd4efc05fa4e11e9e7b2166a15a84c884bd45;hp=1573bd7ed0929c90fb1391500e4521cb40779a20;hpb=80b0e508f15731974f77af17496991defdcf9e90;p=bpdyndnsd diff --git a/src/service.hpp b/src/service.hpp index 1573bd7..fd5924f 100644 --- a/src/service.hpp +++ b/src/service.hpp @@ -69,9 +69,9 @@ public: 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);