#endif
/* test is provided in the test code file */
-CURLcode test(char *url);
+int test(char *url);
char *arg2=NULL;
#include "test.h"
-CURLcode test(char *URL)
+int test(char *URL)
{
CURLcode res;
CURL *curl = curl_easy_init();
* Get a single URL without select().
*/
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL *c;
CURLM *m;
* auth info.
*/
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL *c;
CURLM *m;
curl_easy_cleanup(c);
curl_multi_cleanup(m);
- return 0;
+ return CURLE_OK;
}
* Use multi interface to get document over proxy with bad port number.
* This caused the interface to "hang" in libcurl 7.10.2.
*/
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL *c;
CURLcode ret=CURLE_OK;
* Example based on source code provided by Erick Nuwendam. Thanks!
*/
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL *curl;
CURLcode res;
/* test function */
-CURLcode test(char *URL)
+int test(char *URL)
{
CURLcode res;
CURLSHcode scode;
#include "test.h"
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL* curls;
CURLM* multi;
return -1; /* no more data left to deliver */
}
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL *curl;
CURLcode res=CURLE_OK;
return CURLE_OK ;
}
-
-CURLcode test(char *URL)
+int test(char *URL)
{
CURLM* multi;
sslctxparm p;
return 0; /* no more data left to deliver */
}
-CURLcode test(char *URL)
+int test(char *URL)
{
CURL *curl;
CURLcode res=CURLE_OK;