Lines Matching defs:line
42 The 'lineptr' parameter is a full "Set-cookie:" line as
46 line supersedes.
473 * Add a single cookie line to the cookie keeping object. Be aware that
483 bool httpheader, /* TRUE if HTTP header-style line */
485 const char *lineptr, /* first character of the line */
513 /* This line was read off an HTTP-header */
798 /* no domain was given in the header line, set the default */
807 * No path was given in the header line, set the default. Note that the
837 * line so bail out.
847 * This line is NOT an HTTP header style line, we do offer support for
861 * the line..
873 /* strip off the possible end-of-line characters */
1012 * Now we have parsed the incoming line, we must now check if this supersedes
1208 char *line = NULL;
1245 line = malloc(MAX_COOKIE_LINE);
1246 if(!line)
1248 while(Curl_get_line(line, MAX_COOKIE_LINE, fp)) {
1249 char *lineptr = line;
1251 if(checkprefix("Set-Cookie:", line)) {
1252 /* This is a cookie line, get it! */
1253 lineptr = &line[11];
1261 free(line); /* free the line buffer */
1279 free(line);
1587 * Function returns a char * to a formatted line. The caller is responsible
1722 char *line;
1732 line = get_netscape_format(c);
1733 if(!line) {
1737 beg = Curl_slist_append_nodup(list, line);
1739 free(line);