56 #define setupcallbacks(x) Curl_nop_stmt 67 fprintf(stderr,
"curl_global_init() failed\n");
73 fprintf(stderr,
"curl_easy_init() failed\n");
99 double time_namelookup;
101 double time_pretransfer;
102 double time_starttransfer;
104 fprintf(moo,
"IP: %s\n", ipstr);
109 &time_starttransfer);
114 if(time_namelookup > time_connect) {
115 fprintf(moo,
"namelookup vs connect: %f %f\n",
116 time_namelookup, time_connect);
118 if(time_connect > time_pretransfer) {
119 fprintf(moo,
"connect vs pretransfer: %f %f\n",
120 time_connect, time_pretransfer);
122 if(time_pretransfer > time_starttransfer) {
123 fprintf(moo,
"pretransfer vs starttransfer: %f %f\n",
124 time_pretransfer, time_starttransfer);
126 if(time_starttransfer > time_total) {
127 fprintf(moo,
"starttransfer vs total: %f %f\n",
128 time_starttransfer, time_total);
#define setupcallbacks(x)
#define test_setopt(A, B, C)
int libtest_debug_cb(CURL *handle, curl_infotype type, unsigned char *data, size_t size, void *userp)
#define curl_easy_setopt(handle, option, value)
#define TEST_ERR_MAJOR_BAD
static int counter[MAX_EASY_HANDLES]
#define curl_easy_getinfo(handle, info, arg)
CURL_EXTERN CURL * curl_easy_init(void)
CURL_EXTERN void curl_easy_cleanup(CURL *curl)
CURL_EXTERN CURLcode curl_global_init(long flags)
curl_global_init() globally initializes curl given a bitwise set of the different features of what to...
CURL_EXTERN void curl_global_cleanup(void)
curl_global_cleanup() globally cleanups curl, uses the value of "init_flags" to determine what needs ...
struct libtest_trace_cfg libtest_debug_config
CURL_EXTERN CURLcode curl_easy_perform(CURL *curl)