mirror of
https://github.com/curl/curl.git
synced 2026-08-02 12:10:29 +03:00
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().
This commit is contained in:
parent
31336d63ae
commit
45037a39aa
5 changed files with 78 additions and 59 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue