Loading docs/curl_easy_cleanup.3 +8 −4 Original line number Diff line number Diff line Loading @@ -2,13 +2,13 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_cleanup 3 "22 May 2000" "Curl 7.0" "libcurl Manual" .TH curl_easy_cleanup 3 "5 March 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_cleanup - End a libcurl "easy" session curl_easy_cleanup - End a libcurl session .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "curl_easy_cleanup(CURL *" handle "); .BI "curl_easy_cleanup(CURL *" handle ");" .ad .SH DESCRIPTION This function must be the last function to call for a curl session. It is the Loading @@ -17,6 +17,10 @@ opposite of the function and must be called with the same .I handle as input as the curl_easy_init call returned. This will effectively close all connections libcurl has been used and possibly has kept open until now. Don't call this function if you intend to transfer more files (libcurl 7.7 or later). .SH RETURN VALUE None .SH "SEE ALSO" Loading docs/curl_easy_getinfo.3 +4 −4 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_init 3 "4 February 2001" "Curl 7.6.1" "libcurl Manual" .TH curl_easy_init 3 "5 March 2001" "libcurl 7.6.1" "libcurl Manual" .SH NAME curl_easy_getinfo - Extract information from a curl session (added in 7.4) .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ... );" .ad Loading Loading @@ -83,8 +83,8 @@ verification that was requested (using the CURLOPT_SSL_VERIFYPEER option to curl_easy_setopt). (Added in 7.4.2) .TP .B CURLINFO_CONTENT_LENGTH_DOWNLOAD Pass a pointer to a double to receive the content-length of the download. (Added in 7.6.1) Pass a pointer to a double to receive the content-length of the download. This is the value read from the Content-Length: field. (Added in 7.6.1) .TP .B CURLINFO_CONTENT_LENGTH_UPLOAD Pass a pointer to a double to receive the specified size of the upload. Loading docs/curl_easy_init.3 +7 −3 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_init 3 "26 September 2000" "Curl 7.0" "libcurl Manual" .TH curl_easy_init 3 "5 March 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_init - Start a libcurl "easy" session curl_easy_init - Start a libcurl session .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURL *curl_easy_init( );" .ad Loading @@ -19,6 +19,10 @@ when the operation is complete. On win32 systems, you need to init the winsock stuff manually, libcurl will not do that for you. WSAStartup() and WSACleanup() should be used accordingly. Using libcurl 7.7 and later, you should perform all your sequential file transfers using the same curl handle. This enables libcurl to use persistant connections where possible. .SH RETURN VALUE If this function returns NULL, something went wrong and you cannot use the other curl functions. Loading docs/curl_easy_perform.3 +19 −6 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_perform 3 "1 Mar 2001" "Curl 7.0" "libcurl Manual" .TH curl_easy_perform 3 "5 Mar 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_perform - Do the actual transfer in a "easy" session curl_easy_perform - Perform a file transfer .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURLcode curl_easy_perform(CURL *" handle "); .ad Loading @@ -17,9 +17,22 @@ It must be called with the same .I handle as input as the curl_easy_init call returned. You are only allowed to call this function once using the same handle. If you want to do repeated calls, you must call curl_easy_cleanup and curl_easy_init again first. libcurl version 7.7 or later (for older versions see below): You can do any amount of calls to curl_easy_perform() while using the same handle. If you intend to transfer more than one file, you are even encouraged to do so. libcurl will then attempt to re-use the same connection for the following transfers, thus making the operations faster, less CPU intense and using less network resources. Just note that you will have to use .I curl_easy_setopt between the invokes to set options for the following curl_easy_perform. You must never call this function simultaneously from two places using the same handle. Let the function return first before invoking it another time. If you want parallel transfers, you must use several curl handles. Before libcurl version 7.7: You are only allowed to call this function once using the same handle. If you want to do repeated calls, you must call curl_easy_cleanup and curl_easy_init again first. .SH RETURN VALUE 0 means everything was ok, non-zero means an error occurred as .I <curl/curl.h> Loading docs/curl_easy_setopt.3 +3 −3 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_setopt 3 "2 February 2001" "Curl 7.5" "libcurl Manual" .TH curl_easy_setopt 3 "5 March 2001" "libcurl 7.5" "libcurl Manual" .SH NAME curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURLcode curl_easy_setopt(CURL *" handle ", CURLoption "option ", ...); .ad Loading @@ -20,7 +20,7 @@ followed by a parameter. That parameter can be a long, a function pointer or an object pointer, all depending on what the option in question expects. Read this manual carefully as bad input values may cause libcurl to behave badly! You can only set one option in each function call. A typical application uses many calls in the setup phase. many curl_easy_setopt() calls in the setup phase. The .I "handle" Loading Loading
docs/curl_easy_cleanup.3 +8 −4 Original line number Diff line number Diff line Loading @@ -2,13 +2,13 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_cleanup 3 "22 May 2000" "Curl 7.0" "libcurl Manual" .TH curl_easy_cleanup 3 "5 March 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_cleanup - End a libcurl "easy" session curl_easy_cleanup - End a libcurl session .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "curl_easy_cleanup(CURL *" handle "); .BI "curl_easy_cleanup(CURL *" handle ");" .ad .SH DESCRIPTION This function must be the last function to call for a curl session. It is the Loading @@ -17,6 +17,10 @@ opposite of the function and must be called with the same .I handle as input as the curl_easy_init call returned. This will effectively close all connections libcurl has been used and possibly has kept open until now. Don't call this function if you intend to transfer more files (libcurl 7.7 or later). .SH RETURN VALUE None .SH "SEE ALSO" Loading
docs/curl_easy_getinfo.3 +4 −4 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_init 3 "4 February 2001" "Curl 7.6.1" "libcurl Manual" .TH curl_easy_init 3 "5 March 2001" "libcurl 7.6.1" "libcurl Manual" .SH NAME curl_easy_getinfo - Extract information from a curl session (added in 7.4) .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ... );" .ad Loading Loading @@ -83,8 +83,8 @@ verification that was requested (using the CURLOPT_SSL_VERIFYPEER option to curl_easy_setopt). (Added in 7.4.2) .TP .B CURLINFO_CONTENT_LENGTH_DOWNLOAD Pass a pointer to a double to receive the content-length of the download. (Added in 7.6.1) Pass a pointer to a double to receive the content-length of the download. This is the value read from the Content-Length: field. (Added in 7.6.1) .TP .B CURLINFO_CONTENT_LENGTH_UPLOAD Pass a pointer to a double to receive the specified size of the upload. Loading
docs/curl_easy_init.3 +7 −3 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_init 3 "26 September 2000" "Curl 7.0" "libcurl Manual" .TH curl_easy_init 3 "5 March 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_init - Start a libcurl "easy" session curl_easy_init - Start a libcurl session .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURL *curl_easy_init( );" .ad Loading @@ -19,6 +19,10 @@ when the operation is complete. On win32 systems, you need to init the winsock stuff manually, libcurl will not do that for you. WSAStartup() and WSACleanup() should be used accordingly. Using libcurl 7.7 and later, you should perform all your sequential file transfers using the same curl handle. This enables libcurl to use persistant connections where possible. .SH RETURN VALUE If this function returns NULL, something went wrong and you cannot use the other curl functions. Loading
docs/curl_easy_perform.3 +19 −6 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_perform 3 "1 Mar 2001" "Curl 7.0" "libcurl Manual" .TH curl_easy_perform 3 "5 Mar 2001" "libcurl 7.7" "libcurl Manual" .SH NAME curl_easy_perform - Do the actual transfer in a "easy" session curl_easy_perform - Perform a file transfer .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURLcode curl_easy_perform(CURL *" handle "); .ad Loading @@ -17,9 +17,22 @@ It must be called with the same .I handle as input as the curl_easy_init call returned. You are only allowed to call this function once using the same handle. If you want to do repeated calls, you must call curl_easy_cleanup and curl_easy_init again first. libcurl version 7.7 or later (for older versions see below): You can do any amount of calls to curl_easy_perform() while using the same handle. If you intend to transfer more than one file, you are even encouraged to do so. libcurl will then attempt to re-use the same connection for the following transfers, thus making the operations faster, less CPU intense and using less network resources. Just note that you will have to use .I curl_easy_setopt between the invokes to set options for the following curl_easy_perform. You must never call this function simultaneously from two places using the same handle. Let the function return first before invoking it another time. If you want parallel transfers, you must use several curl handles. Before libcurl version 7.7: You are only allowed to call this function once using the same handle. If you want to do repeated calls, you must call curl_easy_cleanup and curl_easy_init again first. .SH RETURN VALUE 0 means everything was ok, non-zero means an error occurred as .I <curl/curl.h> Loading
docs/curl_easy_setopt.3 +3 −3 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ .\" nroff -man [file] .\" Written by daniel@haxx.se .\" .TH curl_easy_setopt 3 "2 February 2001" "Curl 7.5" "libcurl Manual" .TH curl_easy_setopt 3 "5 March 2001" "libcurl 7.5" "libcurl Manual" .SH NAME curl_easy_setopt - Set curl easy-session options .SH SYNOPSIS .B #include <curl/easy.h> .B #include <curl/curl.h> .sp .BI "CURLcode curl_easy_setopt(CURL *" handle ", CURLoption "option ", ...); .ad Loading @@ -20,7 +20,7 @@ followed by a parameter. That parameter can be a long, a function pointer or an object pointer, all depending on what the option in question expects. Read this manual carefully as bad input values may cause libcurl to behave badly! You can only set one option in each function call. A typical application uses many calls in the setup phase. many curl_easy_setopt() calls in the setup phase. The .I "handle" Loading