Lines Matching refs:altsvc
88 static void altsvc_free(struct altsvc *as) in altsvc_free()
95 static struct altsvc *altsvc_createid(const char *srchost, in altsvc_createid()
102 struct altsvc *as = calloc(sizeof(struct altsvc), 1); in altsvc_createid()
124 static struct altsvc *altsvc_create(char *srchost, in altsvc_create()
164 struct altsvc *as; in altsvc_add()
231 static CURLcode altsvc_out(struct altsvc *as, FILE *fp) in altsvc_out()
310 struct altsvcinfo *altsvc = *altsvcp; in Curl_altsvc_cleanup() local
311 for(e = altsvc->list.head; e; e = n) { in Curl_altsvc_cleanup()
312 struct altsvc *as = e->ptr; in Curl_altsvc_cleanup()
316 free(altsvc->filename); in Curl_altsvc_cleanup()
317 free(altsvc); in Curl_altsvc_cleanup()
326 struct altsvcinfo *altsvc, const char *file) in Curl_altsvc_save() argument
334 if(!altsvc) in Curl_altsvc_save()
339 if(!file && altsvc->filename) in Curl_altsvc_save()
340 file = altsvc->filename; in Curl_altsvc_save()
342 if((altsvc->flags & CURLALTSVC_READONLYFILE) || !file || !file[0]) in Curl_altsvc_save()
351 for(e = altsvc->list.head; e; e = n) { in Curl_altsvc_save()
352 struct altsvc *as = e->ptr; in Curl_altsvc_save()
397 struct altsvc *as = e->ptr; in altsvc_flush()
446 struct altsvc *as; in Curl_altsvc_parse()
606 struct altsvc **dstentry, in Curl_altsvc_lookup()
617 struct altsvc *as = e->ptr; in Curl_altsvc_lookup()