Reputation: 970
I cannot find the source code for this important function in the libcurl source tree. Nor do I find a definition of this function in curl.h. Neither a search of the linux kernel github source nor several google searches yields anything.
curl_easy_perform() has to be defined and implemented somewhere, or at least defined by way of some macro(?), but, while numerous examples are given of this function being called, I have found nothing of its implementation. Any ideas?
Upvotes: 0
Views: 2166
Reputation: 781721
It's in easy.c
/*
* curl_easy_perform() is the external interface that performs a blocking
* transfer as previously setup.
*/
CURLcode curl_easy_perform(CURL *easy)
{
return easy_perform(easy, FALSE);
}
I found this by going to the cURL github repository and putting CURLcode curl_easy_perform
into the search field (just searching for curl_easy_perform
has too many hits because it finds all the testing and documentation code that refers to the function, not just the definitions).
easy_perform()
, which does all the real work, is defined right before it.
Upvotes: 4