Lines Matching defs:clist
492 struct Cookie *clist;
1057 clist = c->cookies[myhash];
1058 while(clist) {
1059 if(strcasecompare(clist->name, co->name)) {
1063 if(clist->domain && co->domain) {
1064 if(strcasecompare(clist->domain, co->domain))
1068 else if(!clist->domain && !co->domain)
1072 clist->spath && co->spath && /* both have paths */
1073 clist->secure && !co->secure && !secure) {
1084 sep = strchr(clist->spath + 1, '/');
1087 cllen = sep - clist->spath;
1089 cllen = strlen(clist->spath);
1091 if(strncasecompare(clist->spath, co->spath, cllen)) {
1100 if(!replace_co && strcasecompare(clist->name, co->name)) {
1103 if(clist->domain && co->domain) {
1104 if(strcasecompare(clist->domain, co->domain) &&
1105 (clist->tailmatch == co->tailmatch))
1109 else if(!clist->domain && !co->domain)
1115 if(clist->spath && co->spath &&
1116 !strcasecompare(clist->spath, co->spath))
1118 else if(!clist->spath != !co->spath)
1122 if(replace_old && !co->livecookie && clist->livecookie) {
1134 replace_clist = clist;
1137 lastc = clist;
1138 clist = clist->next;
1142 clist = replace_clist;
1143 co->next = clist->next; /* get the next-pointer first */
1146 co->creationtime = clist->creationtime;
1149 free(clist->name);
1150 free(clist->value);
1151 free(clist->domain);
1152 free(clist->path);
1153 free(clist->spath);
1155 *clist = *co; /* then store all the new data */
1158 co = clist;