Lines Matching defs:mlfile
598 metalinkfile *mlfile,
603 if(mlfile->checksum == NULL) {
608 rv = check_hash(filename, mlfile->checksum->digest_def,
609 mlfile->checksum->digest, config->errors);
762 metalinkfile *mlfile;
763 mlfile = new_metalinkfile(*files);
764 if(!mlfile->checksum) {
771 GetStr(&url->url, mlfile->filename);
777 config->metalinkfile_last->next = mlfile;
778 config->metalinkfile_last = mlfile;
781 config->metalinkfile_list = config->metalinkfile_last = mlfile;
837 int count_next_metalink_resource(metalinkfile *mlfile)
841 for(res = mlfile->resource; res; res = res->next, ++count);
863 static void delete_metalinkfile(metalinkfile *mlfile)
866 if(mlfile == NULL) {
869 Curl_safefree(mlfile->filename);
870 delete_metalink_checksum(mlfile->checksum);
871 for(res = mlfile->resource; res;) {
877 Curl_safefree(mlfile);
883 metalinkfile *mlfile = config->metalinkfile_list;
885 delete_metalinkfile(mlfile);