From c39de958ace0d6dc0abdf5667bb50a43d9930927 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 13 Jan 2024 01:10:07 -0800 Subject: initial --- sakisafecli/options.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sakisafecli/options.h (limited to 'sakisafecli/options.h') 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 +/* 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 */ -- cgit v1.2.3-13-gbd6f