Home | History | Annotate | Download | only in cgi

Lines Matching full:boundary

244 static BOOL _is_boundary (char *boundary, char *s, int l, int *done)
249 /* cache the boundary strlen... more pointless optimization by blong */
250 if (old_boundary != boundary)
252 old_boundary = boundary;
253 bl = strlen(boundary);
262 if (bl+2 == l && s[0] == '-' && s[1] == '-' && !strncmp (s+2, boundary, bl))
265 !strncmp (s+2, boundary, bl) &&
274 static NEOERR * _find_boundary (CGI *cgi, char *boundary, int *done)
289 if (_is_boundary(boundary, s, l, done))
357 static NEOERR * _read_part (CGI *cgi, char *boundary, int *done)
436 if (_is_boundary(boundary, s, l, done)) break;
555 char *boundary = NULL;
572 err = _header_attr (ct_hdr, "boundary", &boundary);
574 err = _find_boundary(cgi, boundary, &done);
577 err = _read_part (cgi, boundary, &done);
580 if (boundary) free(boundary);