summaryrefslogtreecommitdiff
path: root/src/getht.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/getht.h')
-rw-r--r--src/getht.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/getht.h b/src/getht.h
index 8c09c3f..6f7bc1d 100644
--- a/src/getht.h
+++ b/src/getht.h
@@ -26,3 +26,23 @@
#define ISS_XML_FILE "htde_toc.xml"
#define STR_MAX 512
+
+#include <curl/curl.h>
+
+struct config {
+ char * proxytype;
+ char * proxyauth;
+ char proxy_addr[STR_MAX];
+ long proxy_port;
+ char proxy_user[STR_MAX];
+ char proxy_pass[STR_MAX];
+
+ char toc_xml[STR_MAX];
+ char issue_uri[STR_MAX];
+
+ char save_path[STR_MAX];
+
+ int startup_check;
+
+ CURL *curl_handle;
+};