summaryrefslogtreecommitdiff
path: root/sakisafecli/options.h
blob: d92a575b83c9e4551b636afdced66099f4085311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef OPTIONS_H
#define OPTIONS_H

#include <libconfig.h>
/* clainsafecli options */

/* Default server you'll upload files to */
extern char *server;

/* proxy urls, socks and http. in that order, by default they're
 * configured to be used for tor and i2p, but if you have another
 * socks/http proxy, you can set it here. 
 */

/* Enable "history" files and where to store that file */

extern char history_file_path[256];
extern const int enable_links_history;
extern const char *path;

/* Config file variables */
extern char *socks_proxy_url, *http_proxy_url;

extern bool socks_proxy_flag;
extern bool http_proxy_flag;
extern bool ipv6_flag;
extern bool ipv4_flag;
extern bool silent_flag;
extern char *ssh_key_path;
extern config_t runtime_config;
#endif  /* OPTIONS_H */