diff options
author | Sterling Hughes <sterling@bumblebury.com> | 2001-07-12 01:57:28 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@bumblebury.com> | 2001-07-12 01:57:28 +0000 |
commit | 45037a39aa7141510f6c6bcff65d102c65e6566e (patch) | |
tree | 4ea1de0d8a604c21fab41989b3579bc3934766f4 /include | |
parent | 31336d63ae4479155a2fed861ac2ac38949a035c (diff) |
Add win32 initialization support to curl_global_init() and
curl_global_cleanup(). Update corresponding man pages...
Improve the logic in curl_global_cleanup() and curl_global_init() so that
they are not called twice if the application libraries have been
initialized and make sure to reset the init flags in curl_global_cleanup().
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 464388f57..e50c73e8c 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -575,7 +575,8 @@ typedef enum { } curl_closepolicy; #define CURL_GLOBAL_SSL (1<<0) -#define CURL_GLOBAL_ALL (CURL_GLOBAL_SSL) +#define CURL_GLOBAL_WIN32 (1<<1) +#define CURL_GLOBAL_ALL (CURL_GLOBAL_SSL|CURL_GLOBAL_WIN32) #define CURL_GLOBAL_NOTHING 0 #define CURL_GLOBAL_DEFAULT CURL_GLOBAL_ALL |