#include <dst_config.hpp>
Public Member Functions | |
dest_config () | |
~dest_config () | |
int | get_authorization (client_s *cli) |
Gets authorization for this client. | |
void | set_specyfic_data (const t_uid &uid, t_traffic limit, bool always_allow) |
Sets user specyfic limits. | |
void | add_traffic (const t_uid &uid, t_traffic_int diff) |
Adds traffic to user. | |
Public Attributes | |
int | index |
LocalDB | localDB |
int | banned_destination |
int | allowed_destination |
configStore * | file |
t_traffic | transfer |
proxy_server * | proxy |
int | ttl |
std::map< t_uid, config_entry > | specyfic_entries |
char | check_mode |
unsigned char | zone_index |
t_traffic | transfer_dest |
t_traffic | limit_dest |
dest_config::dest_config | ( | ) |
dest_config::~dest_config | ( | ) |
int dest_config::get_authorization | ( | client_s * | cli | ) |
Gets authorization for this client.
Sets user specyfic limits.
void dest_config::add_traffic | ( | const t_uid & | uid, | |
t_traffic_int | diff | |||
) |
Adds traffic to user.
int dest_config::ttl |
std::map<t_uid, config_entry> dest_config::specyfic_entries |
unsigned char dest_config::zone_index |