diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-14 09:36:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-14 09:36:22 +0000 |
commit | 07f107ae20f60247e716a814ec7bafbda9df945a (patch) | |
tree | 5dc2f358eb9e7204086874e1b94a41e7239ffc2a /lib/urldata.h | |
parent | 5c14b3be6dc7fe44ee33642c4e32541e01a6a260 (diff) |
Moved the engine stuff from the root-level of the SessionHandle struct to the
UrlState sub-struct. Also made the engine_list exist for non-ssl builds to
make curl build.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index bba17a649..6acc2f7a8 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -777,6 +777,12 @@ struct UrlState { #ifdef USE_ARES ares_channel areschannel; /* for name resolves */ #endif + +#if defined(USE_SSLEAY) && defined(HAVE_OPENSSL_ENGINE_H) + ENGINE *engine; +#endif /* USE_SSLEAY */ + struct curl_slist *engine_list; /* list of names from ENGINE_get_id() */ + }; @@ -973,10 +979,6 @@ struct SessionHandle { struct UrlState state; /* struct for fields used for state info and other dynamic purposes */ struct PureInfo info; /* stats, reports and info data */ -#if defined(USE_SSLEAY) && defined(HAVE_OPENSSL_ENGINE_H) - ENGINE *engine; - struct curl_slist *engine_list; /* list of names from ENGINE_get_id() */ -#endif /* USE_SSLEAY */ }; #define LIBCURL_NAME "libcurl" |