Lines Matching defs:mlfile
660 metalinkfile *mlfile,
665 if(mlfile->checksum == NULL) {
670 rv = check_hash(filename, mlfile->checksum->digest_def,
671 mlfile->checksum->digest, config->errors);
842 metalinkfile *mlfile = new_metalinkfile(*files);
843 if(!mlfile)
846 if(!mlfile->checksum) {
853 GetStr(&url->url, mlfile->filename);
859 config->metalinkfile_last->next = mlfile;
860 config->metalinkfile_last = mlfile;
863 config->metalinkfile_list = config->metalinkfile_last = mlfile;
919 int count_next_metalink_resource(metalinkfile *mlfile)
923 for(res = mlfile->resource; res; res = res->next, ++count);
945 static void delete_metalinkfile(metalinkfile *mlfile)
948 if(mlfile == NULL) {
951 Curl_safefree(mlfile->filename);
952 delete_metalink_checksum(mlfile->checksum);
953 for(res = mlfile->resource; res;) {
959 Curl_safefree(mlfile);
965 metalinkfile *mlfile = config->metalinkfile_list;
967 delete_metalinkfile(mlfile);