Lines Matching refs:mlfile
662 metalinkfile *mlfile, in metalink_check_hash() argument
667 if(mlfile->checksum == NULL) { in metalink_check_hash()
672 rv = check_hash(filename, mlfile->checksum->digest_def, in metalink_check_hash()
673 mlfile->checksum->digest, config->errors); in metalink_check_hash()
862 metalinkfile *mlfile = new_metalinkfile(*files); in parse_metalink() local
863 if(!mlfile) in parse_metalink()
866 if(!mlfile->checksum) { in parse_metalink()
873 GetStr(&url->url, mlfile->filename); in parse_metalink()
879 config->metalinkfile_last->next = mlfile; in parse_metalink()
880 config->metalinkfile_last = mlfile; in parse_metalink()
883 config->metalinkfile_list = config->metalinkfile_last = mlfile; in parse_metalink()
939 int count_next_metalink_resource(metalinkfile *mlfile) in count_next_metalink_resource() argument
943 for(res = mlfile->resource; res; res = res->next, ++count); in count_next_metalink_resource()
965 static void delete_metalinkfile(metalinkfile *mlfile) in delete_metalinkfile() argument
968 if(mlfile == NULL) { in delete_metalinkfile()
971 Curl_safefree(mlfile->filename); in delete_metalinkfile()
972 delete_metalink_checksum(mlfile->checksum); in delete_metalinkfile()
973 for(res = mlfile->resource; res;) { in delete_metalinkfile()
979 Curl_safefree(mlfile); in delete_metalinkfile()
985 metalinkfile *mlfile = config->metalinkfile_list; in clean_metalink() local
987 delete_metalinkfile(mlfile); in clean_metalink()