X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fserver.h;h=f27ce08f7455066598b6ac333b7eef079cdcc1a9;hb=31048f6090b7c82605d2bbf7653d9884a14fe45b;hp=736810be0ae94b895ecf2523d479fa0bd54c1869;hpb=2d9bd6ba5e72099ae4c5287ade99300c7f6bd1b7;p=awesomized%2Flibmemcached diff --git a/libtest/server.h b/libtest/server.h index 736810be..f27ce08f 100644 --- a/libtest/server.h +++ b/libtest/server.h @@ -204,8 +204,6 @@ public: _log_file.clear(); } - bool args(Application&); - pid_t pid() const; bool has_pid() const; @@ -252,6 +250,16 @@ public: bool validate(); + void out_of_ban_killed(bool arg) + { + out_of_ban_killed_= arg; + } + + bool out_of_ban_killed() + { + return out_of_ban_killed_; + } + protected: bool set_pid_file(); Options _options; @@ -264,6 +272,9 @@ private: bool set_log_file(); bool set_socket_file(); void reset_pid(); + bool out_of_ban_killed_; + bool args(Application&); + std::string _error; };