Added `global_cleanup' which declared as curl_global_cleanup() in C.

Added comments.

git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@71817 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
larryl
2008-01-09 06:50:07 +00:00
parent 987c18198e
commit 60b99e48d4
2 changed files with 27 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ feature -- Command
perform (a_curl_handle: POINTER): INTEGER is
-- Declared as curl_easy_perform().
-- Result is one value from {CURL_CODES}
require
exists: a_curl_handle /= default_pointer
local
@@ -145,6 +146,8 @@ feature -- Special setting
set_write_function (a_curl_handle: POINTER) is
-- Set cURL write function
-- Set cURL write function with Eiffel default write function.
-- So we can use CURL_STRING as parameter in {CURL_EASY_EXTERNALS}.setopt_curl_string when the option is {CURL_OPT_CONSTANTS}.curlopt_writedata
require
exists: a_curl_handle /= default_pointer
local