|
NAMECURLINFO_XFER_ID - get the ID of a transfer SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_XFER_ID, DESCRIPTIONPass a pointer to a curl_off_t to receive the identifier of the current/last transfer done with the handle. Stores -1 if no transfer has been started yet for the handle. The transfer id is unique among all transfers performed using the same connection cache. This is implicitly the case for all transfers in the same multi handle. PROTOCOLSThis functionality affects all supported protocols EXAMPLEint main(void)
{
AVAILABILITYAdded in curl 8.2.0 RETURN VALUEcurl_easy_getinfo(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLINFO_CONN_ID(3), curl_easy_getinfo(3), curl_easy_setopt(3)
|