summaryrefslogtreecommitdiff
path: root/sakisafecli/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'sakisafecli/options.h')
-rw-r--r--sakisafecli/options.h31
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 */