diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2024-01-13 01:10:07 -0800 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2024-01-13 01:10:07 -0800 |
| commit | c39de958ace0d6dc0abdf5667bb50a43d9930927 (patch) | |
| tree | f756c50e9ed36a79b76eef911969cd76285093ea /sakisafecli/options.h | |
initial
Diffstat (limited to 'sakisafecli/options.h')
| -rw-r--r-- | sakisafecli/options.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sakisafecli/options.h b/sakisafecli/options.h new file mode 100644 index 0000000..d92a575 --- /dev/null +++ b/sakisafecli/options.h @@ -0,0 +1,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 */ |
