Home | History | Annotate | Download | only in ftp

Lines Matching defs:response

257  * Generate authorization response based on given authentication challenge.
259 * Sets response to a malloc(3)ed string; caller should free.
262 auth_url(const char *challenge, char **response, const struct authinfo *auth)
271 *response = NULL;
337 *response = ftp_malloc(rlen);
338 (void)strlcpy(*response, scheme, rlen);
339 len = strlcat(*response, " ", rlen);
342 (unsigned char *)*response + len);
1009 /* Determine HTTP response code */
1077 char *response;
1106 if (auth_url(*auth, &response, &aauth) == 0) {
1108 hcode == 401 ? pauth->auth : response,
1109 hcode == 401 ? response : wauth->auth,
1111 memset(response, 0, strlen(response));
1112 FREEPTR(response);
1132 /* Read the response */
1312 /* Read the response */
1875 warnx("Improper response from `%s:%s'", ui.host, ui.port);