#include <cassert>
#include <cstdio>
#include <cstring>
-#include <netdb.h>
-#include <netinet/in.h>
+
+#ifdef HAVE_NETDB_H
+# include <netdb.h>
+#endif
+
+#ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+
#include <string>
#include <unistd.h>
#include <vector>
_log_file.clear();
}
- bool args(Application&);
-
pid_t pid() const;
bool has_pid() const;
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;
bool set_log_file();
bool set_socket_file();
void reset_pid();
+ bool out_of_ban_killed_;
+ bool args(Application&);
+
std::string _error;
};