aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-26 21:02:53 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-27 20:20:17 +0000
commit17df2d8f8ee7864996c8a6a45886ccd6e34d065d (patch)
treefbdf18acf0c9802faf692086f471992aed3e4b80 /src/tool_cfgable.h
parentfc59a9e18f21c8dc95ead90ef67946f18d555087 (diff)
tool_cfgable: Added GlobalConfig pointer to OperationConfig
In order to ease the moving of global options such as the error stream, updated the OperationConfig structure to point to the GlobalConfig.
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index e88b97896..77c603752 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -27,6 +27,8 @@
#include "tool_metalink.h"
+struct GlobalConfig;
+
struct OperationConfig {
CURL *easy; /* A copy of the handle from GlobalConfig */
bool remote_time;
@@ -213,6 +215,7 @@ struct OperationConfig {
bool nonpn; /* enable/disable TLS NPN extension */
bool noalpn; /* enable/disable TLS ALPN extension */
+ struct GlobalConfig *global;
struct OperationConfig* prev;
struct OperationConfig* next; /* Always last in the struct */
};