From 45037a39aa7141510f6c6bcff65d102c65e6566e Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Thu, 12 Jul 2001 01:57:28 +0000 Subject: 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(). --- docs/TODO | 5 ----- docs/curl_global_init.3 | 7 +++++-- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/TODO b/docs/TODO index ff0a48808..59bfbf61f 100644 --- a/docs/TODO +++ b/docs/TODO @@ -20,11 +20,6 @@ To do in a future release (random order): * Consider an interface to libcurl that allows applications to easier get to know what cookies that are sent back in the response headers. - * The win32_init() and win32_cleanup() functions that are present in - src/main.c (and docs/examples/win32sockets.c) would probably be fine to - add to curl_global_init() and performed if the correct flag is set. Makes - it easier for windows people. - * Make SSL session ids get used if multiple HTTPS documents from the same host is requested. http://curl.haxx.se/dev/SSL_session_id.txt diff --git a/docs/curl_global_init.3 b/docs/curl_global_init.3 index be6aeaa29..8842a9452 100644 --- a/docs/curl_global_init.3 +++ b/docs/curl_global_init.3 @@ -27,10 +27,13 @@ This function was added in libcurl 7.8. .SH FLAGS .TP 5 .B CURL_GLOBAL_ALL -Initialise everyting possible. This sets all known bits. +Initialize everyting possible. This sets all known bits. .TP .B CURL_GLOBAL_SSL -Initialise SSL +Initialize SSL +.TP +.B CURL_GLOBAL_WIN32 +Initialize the Win32 socket libraries. .TP .B CURL_GLOBAL_NOTHING Initialise nothing extra. This sets no bit. -- cgit v1.2.3