From f44f512f243e6f0d19aa0a1468b84b67db7cb2f4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 28 May 2001 15:30:38 +0000 Subject: global_init() takes a flag option now, to tell libcurl what _not_ to init. it will make it better when the application uses several libs that use openssl and it also enables us to do the win32 winsock initing in the future if we want to --- include/curl/curl.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index 42b2826e8..54d6ae3da 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -492,8 +492,18 @@ char *curl_version(void); char *curl_escape(char *string, int length); char *curl_unescape(char *string, int length); +/* curl_global_init() should be invoked exactly once for each application that + uses libcurl */ +CURLcode curl_global_init(long flags); + +/* curl_global_cleanup() should be invoked exactly once for each application + that uses libcurl */ +void curl_global_cleanup(void); + + + /* This is the version number */ -#define LIBCURL_VERSION "7.7.4-pre2" +#define LIBCURL_VERSION "7.7.4-pre3" #define LIBCURL_VERSION_NUM 0x070704 /* linked-list structure for the CURLOPT_QUOTE option (and other) */ -- cgit v1.2.3