Searched refs:finfo (Results 1 – 8 of 8) sorted by relevance
/curl/tests/libtest/ |
H A D | lib576.c | 37 const struct curl_fileinfo *finfo = f; in chunk_bgn() local 43 printf("Filename: %s\n", finfo->filename); in chunk_bgn() 44 if(finfo->strings.perm) { in chunk_bgn() 45 printf("Permissions: %s", finfo->strings.perm); in chunk_bgn() 46 if(finfo->flags & CURLFINFOFLAG_KNOWN_PERM) in chunk_bgn() 47 printf(" (parsed => %o)", finfo->perm); in chunk_bgn() 51 if(finfo->strings.user) in chunk_bgn() 53 if(finfo->strings.group) in chunk_bgn() 55 if(finfo->strings.time) in chunk_bgn() 58 switch(finfo->filetype) { in chunk_bgn() [all …]
|
/curl/lib/ |
H A D | fileinfo.c | 38 void Curl_fileinfo_cleanup(struct fileinfo *finfo) in Curl_fileinfo_cleanup() argument 40 if(!finfo) in Curl_fileinfo_cleanup() 43 Curl_dyn_free(&finfo->buf); in Curl_fileinfo_cleanup() 44 free(finfo); in Curl_fileinfo_cleanup()
|
H A D | ftplistparser.c | 316 struct curl_fileinfo *finfo = &infop->info; in ftp_pl_insert_finfo() local 323 finfo->strings.perm = parser->offsets.perm ? in ftp_pl_insert_finfo() 328 finfo->strings.user = parser->offsets.user ? in ftp_pl_insert_finfo() 339 finfo->filename) == 0) { in ftp_pl_insert_finfo() 341 if((finfo->filetype == CURLFILETYPE_SYMLINK) && finfo->strings.target && in ftp_pl_insert_finfo() 395 struct curl_fileinfo *finfo; in Curl_ftp_parselist() local 408 finfo = &infop->info; in Curl_ftp_parselist() 468 finfo->filetype = CURLFILETYPE_FILE; in Curl_ftp_parselist() 480 finfo->filetype = CURLFILETYPE_SOCKET; in Curl_ftp_parselist() 489 finfo->filetype = CURLFILETYPE_DOOR; in Curl_ftp_parselist() [all …]
|
H A D | fileinfo.h | 38 void Curl_fileinfo_cleanup(struct fileinfo *finfo);
|
H A D | ftp.c | 3875 struct curl_fileinfo *finfo = Curl_node_elem(head); in wc_statemach() local 3878 char *tmp_path = aprintf("%s%s", wildcard->path, finfo->filename); in wc_statemach() 3886 infof(data, "Wildcard - START of \"%s\"", finfo->filename); in wc_statemach() 3891 finfo, data->set.wildcardptr, in wc_statemach() 3897 finfo->filename); in wc_statemach() 3905 if(finfo->filetype != CURLFILETYPE_FILE) { in wc_statemach() 3910 if(finfo->flags & CURLFINFOFLAG_KNOWN_SIZE) in wc_statemach() 3911 ftpc->known_filesize = finfo->size; in wc_statemach()
|
/curl/docs/examples/ |
H A D | ftp-wildcard.c | 35 static long file_is_coming(struct curl_fileinfo *finfo, 96 static long file_is_coming(struct curl_fileinfo *finfo, in file_is_coming() argument 100 printf("%3d %40s %10luB ", remains, finfo->filename, in file_is_coming() 101 (unsigned long)finfo->size); in file_is_coming() 103 switch(finfo->filetype) { in file_is_coming() 115 if(finfo->filetype == CURLFILETYPE_FILE) { in file_is_coming() 117 if(finfo->size > 50) { in file_is_coming() 122 data->output = fopen(finfo->filename, "wb"); in file_is_coming()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_CHUNK_DATA.md | 48 static long file_is_coming(struct curl_fileinfo *finfo, 53 printf("%3d %40s %10luB ", remains, finfo->filename, 54 (unsigned long)finfo->size); 56 switch(finfo->filetype) { 68 if(finfo->filetype == CURLFILETYPE_FILE) { 70 if(finfo->size > 50) { 75 data->output = fopen(finfo->filename, "wb");
|
H A D | CURLOPT_CHUNK_BGN_FUNCTION.md | 98 static long file_is_coming(struct curl_fileinfo *finfo, 103 printf("%3d %40s %10luB ", remains, finfo->filename, 104 (unsigned long)finfo->size); 106 switch(finfo->filetype) { 118 if(finfo->filetype == CURLFILETYPE_FILE) { 120 if(finfo->size > 50) { 125 data->output = fopen(finfo->filename, "wb");
|
Completed in 20 milliseconds