1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 03:16:45 +02:00

Add the ability to log to file (#84)

This commit is contained in:
JFreegman
2020-05-16 23:12:54 -04:00
committed by GitHub
parent bdeae33d48
commit 4bda799a4b
2 changed files with 39 additions and 9 deletions

View File

@ -89,12 +89,14 @@ struct arg_opts {
bool no_connect;
bool encrypt_data;
bool unencrypt_data;
bool logging;
char nameserver_path[MAX_STR_SIZE];
char config_path[MAX_STR_SIZE];
char nodes_path[MAX_STR_SIZE];
bool logging;
FILE *log_fp;
char proxy_address[256];
uint8_t proxy_type;
uint16_t proxy_port;