#include "config_reader.hpp"#include "file_tokenizer.hpp"#include <set>#include <limits>#include <stdlib.h>#include <string.h>Functions | |
| long long | parse_time_number (const char *input) |
| converts string to long long, using date sufixes (d,h,m); | |
| long long | parse_traffic_number (const char *input) |
| converts string to long long, using size sufixes (g,m,k); | |
| std::map< std::string, config_destination_entry > | parse_config (const char *file_name) |
| Reads rules from file and returns them. | |
| std::map<std::string, config_destination_entry> parse_config | ( | const char * | file_name | ) |
Reads rules from file and returns them.
| [in] | file_name | name of rules file |
| long long parse_time_number | ( | const char * | input | ) |
converts string to long long, using date sufixes (d,h,m);
| long long parse_traffic_number | ( | const char * | input | ) |
converts string to long long, using size sufixes (g,m,k);
1.5.6