#include <vector>
#include <string>
#include <set>
+#include <mutex>
#include <ctime>
#include <cstdint>
const Users * u,
const Services & svcs);
UserImpl(const UserImpl & u);
- virtual ~UserImpl();
int ReadConf();
int ReadStat();
ScopedConnection m_afterIPConn;
void onIPChange(const UserIPs& oldVal, const UserIPs& newVal);
- mutable pthread_mutex_t mutex;
+ mutable std::mutex m_mutex;
std::string errorStr;
+
+ double getPassiveTimePart() const;
};
//-----------------------------------------------------------------------------