Lines Matching refs:e
87 static void hsts_free(struct stsentry *e) in hsts_free() argument
89 free((char *)e->host); in hsts_free()
90 free(e); in hsts_free()
97 struct Curl_llist_node *e; in Curl_hsts_cleanup() local
99 for(e = Curl_llist_head(&h->list); e; e = n) { in Curl_hsts_cleanup()
100 struct stsentry *sts = Curl_node_elem(e); in Curl_hsts_cleanup()
101 n = Curl_node_next(e); in Curl_hsts_cleanup()
261 struct Curl_llist_node *e; in Curl_hsts() local
271 for(e = Curl_llist_head(&h->list); e; e = n) { in Curl_hsts()
272 struct stsentry *sts = Curl_node_elem(e); in Curl_hsts()
274 n = Curl_node_next(e); in Curl_hsts()
308 struct curl_hstsentry e; in hsts_push() local
313 e.name = (char *)sts->host; in hsts_push()
314 e.namelen = strlen(sts->host); in hsts_push()
315 e.includeSubDomains = sts->includeSubDomains; in hsts_push()
322 msnprintf(e.expire, sizeof(e.expire), "%d%02d%02d %02d:%02d:%02d", in hsts_push()
327 strcpy(e.expire, UNLIMITED); in hsts_push()
329 sc = data->set.hsts_write(data, &e, i, in hsts_push()
363 struct Curl_llist_node *e; in Curl_hsts_save() local
386 for(e = Curl_llist_head(&h->list); e; e = n) { in Curl_hsts_save()
387 struct stsentry *sts = Curl_node_elem(e); in Curl_hsts_save()
388 n = Curl_node_next(e); in Curl_hsts_save()
407 for(e = Curl_llist_head(&h->list); e; e = n) { in Curl_hsts_save()
408 struct stsentry *sts = Curl_node_elem(e); in Curl_hsts_save()
410 n = Curl_node_next(e); in Curl_hsts_save()
440 struct stsentry *e; in hsts_add() local
446 e = Curl_hsts(h, p, subdomain); in hsts_add()
447 if(!e) in hsts_add()
449 else if(strcasecompare(p, e->host)) { in hsts_add()
451 if(expires > e->expires) in hsts_add()
452 e->expires = expires; in hsts_add()
473 struct curl_hstsentry e; in hsts_pull() local
474 e.name = buffer; in hsts_pull()
475 e.namelen = sizeof(buffer)-1; in hsts_pull()
476 e.includeSubDomains = FALSE; /* default */ in hsts_pull()
477 e.expire[0] = 0; in hsts_pull()
478 e.name[0] = 0; /* just to make it clean */ in hsts_pull()
479 sc = data->set.hsts_read(data, &e, data->set.hsts_read_userp); in hsts_pull()
483 DEBUGASSERT(e.name[0]); in hsts_pull()
484 if(!e.name[0]) in hsts_pull()
487 if(e.expire[0]) in hsts_pull()
488 expires = Curl_getdate_capped(e.expire); in hsts_pull()
491 result = hsts_create(h, e.name, in hsts_pull()
493 e.includeSubDomains ? TRUE : FALSE, in hsts_pull()