diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-05-28 15:30:38 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-05-28 15:30:38 +0000 |
commit | f44f512f243e6f0d19aa0a1468b84b67db7cb2f4 (patch) | |
tree | b047200c8e09b710059b24933fb7223fbefab3c9 /include | |
parent | ce0e2cc017116611f478a6058494c7dc37a609cb (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 12 |
1 files changed, 11 insertions, 1 deletions
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) */ |