#include "stg/user_stat.h"
#include "stg/user_conf.h"
#include "stg/user_ips.h"
#include "stg/user_stat.h"
#include "stg/user_conf.h"
#include "stg/user_ips.h"
const DIR_TRAFF & GetSessionUpload() const { return sessionUpload; }
const DIR_TRAFF & GetSessionDownload() const { return sessionDownload; }
const DIR_TRAFF & GetSessionUpload() const { return sessionUpload; }
const DIR_TRAFF & GetSessionDownload() const { return sessionDownload; }
bool GetConnected() const { return connected; }
time_t GetConnectedModificationTime() const { return connected.ModificationTime(); }
bool GetConnected() const { return connected; }
time_t GetConnectedModificationTime() const { return connected.ModificationTime(); }
int Authorize(uint32_t ip, uint32_t enabledDirs, const AUTH * auth);
void Unauthorize(const AUTH * auth,
const std::string & reason = std::string());
int Authorize(uint32_t ip, uint32_t enabledDirs, const AUTH * auth);
void Unauthorize(const AUTH * auth,
const std::string & reason = std::string());