Lines Matching defs:filetime
33 long filetime;
40 /* Test that a filetime is properly initialized on curl_easy_init.
43 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
49 if(filetime != -1) {
50 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n",
51 __FILE__, __LINE__, filetime);
66 /* Test that a filetime is properly set after receiving an HTTP resource.
69 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
75 if(filetime != 30) {
76 fprintf(stderr, "%s:%d filetime of http resource is incorrect; "
78 __FILE__, __LINE__, filetime);
83 /* Test that a filetime is properly initialized on curl_easy_duphandle.
94 res = curl_easy_getinfo(dupe, CURLINFO_FILETIME, &filetime);
100 if(filetime != -1) {
101 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n",
102 __FILE__, __LINE__, filetime);
108 /* Test that a filetime is properly initialized on curl_easy_reset.
113 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime);
119 if(filetime != -1) {
120 fprintf(stderr, "%s:%d filetime init failed; expected -1 but is %ld\n",
121 __FILE__, __LINE__, filetime);