Lines Matching defs:response

226     char *response;
255 (const char **)&response,
263 * if the last character in the 'response' buffer is an ASCII_LF.
266 if (memchr(response, APR_ASCII_LF, len)) {
274 memcpy(pos, response, len);
378 * Reads response lines, returns both the ftp status code and
379 * remembers the response message in the supplied buffer
384 char response[MAX_LINE_LEN];
390 if (APR_SUCCESS != (rv = ftp_string_read(ftp_ctrl, bb, response, sizeof(response), &eos))) {
395 "<%s", response);
397 if (!apr_isdigit(response[0]) || !apr_isdigit(response[1]) ||
398 !apr_isdigit(response[2]) || (response[3] != ' ' && response[3] != '-'))
401 status = 100 * response[0] + 10 * response[1] + response[2] - 111 * '0';
403 mb = apr_cpystrn(mb, response + 4, me - mb);
405 if (response[3] == '-') {
406 memcpy(buff, response, 3);
409 if (APR_SUCCESS != (rv = ftp_string_read(ftp_ctrl, bb, response, sizeof(response), &eos))) {
412 mb = apr_cpystrn(mb, response + (' ' == response[0] ? 1 : 4), me - mb);
413 } while (memcmp(response, buff, 4) != 0);
608 char *pos, *response;
617 if (APR_SUCCESS != (rv = apr_bucket_read(e, (const char **)&response, &len, APR_BLOCK_READ))) {
620 pos = memchr(response, APR_ASCII_LF, len);
622 if ((response + len) != (pos + 1)) {
623 len = pos - response + 1;
624 apr_bucket_split(e, pos - response + 1);
634 apr_cpystrn(ctx->buffer+strlen(ctx->buffer), response, len+1);
809 /* If cmd == NULL, we retrieve the next ftp response line */
1232 * The Retry-After response-header field can be used with a 503 (Service
1233 * Unavailable) response to indicate how long the service is expected
1236 * seconds (in decimal) after the time of the response. Retry-After
1861 /* rc is an intermediate response for the LIST or RETR commands */
1935 /* rc is an intermediate response for the LIST command (125 transfer starting, 150 opening data connection) */
2052 * Get response from the remote ftp socket, and pass it up the filter chain.
2055 /* send response */
2137 /* Retrieve the final response for the RETR or LIST commands */