Lines Matching refs:tailmatch
122 static bool tailmatch(const char *cooke_domain, const char *hostname) in tailmatch() function
681 || (!is_ip && tailmatch(whatptr, domain))) { in Curl_cookie_add()
688 co->tailmatch = TRUE; /* we always do that if the domain name was in Curl_cookie_add()
904 co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE; in Curl_cookie_add()
994 if(co->secure && co->path && strcmp(co->path, "/") == 0 && !co->tailmatch) in Curl_cookie_add()
1057 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add()
1360 d->tailmatch = src->tailmatch; in dup_cookie()
1411 (co->tailmatch && !is_ip && tailmatch(co->domain, host)) || in Curl_cookie_getlist()
1412 ((!co->tailmatch || is_ip) && strcasecompare(host, co->domain)) ) { in Curl_cookie_getlist()
1604 (co->tailmatch && co->domain && co->domain[0] != '.')? ".":"", in get_netscape_format()
1606 co->tailmatch?"TRUE":"FALSE", in get_netscape_format()