/dovecot/src/lib-http/ |
H A D | http-response.c | 11 http_response_init(struct http_response *resp, argument 14 i_zero(resp); 15 resp->version_major = 1; 16 resp->version_minor = 1; 17 resp->date = ioloop_time; 18 resp->status = status; 19 resp->reason = reason; 22 bool http_response_has_connection_option(const struct http_response *resp, argument 27 if (!array_is_created(&resp->connection_options)) 29 array_foreach(&resp 36 http_response_get_payload_size(const struct http_response *resp, uoff_t *size_r) argument [all...] |
H A D | http-response.h | 35 http_response_init(struct http_response *resp, 39 http_response_header_find(const struct http_response *resp, const char *name) argument 41 if (resp->header == NULL) 43 return http_header_field_find(resp->header, name); 47 http_response_header_get(const struct http_response *resp, const char *name) argument 49 if (resp->header == NULL) 51 return http_header_field_get(resp->header, name); 55 http_response_header_get_fields(const struct http_response *resp) argument 57 if (resp->header == NULL) 59 return http_header_get_fields(resp 63 http_response_get_message(const struct http_response *resp) argument [all...] |
H A D | http-server-connection.c | 963 struct http_server_response *resp = req->response; local 967 i_assert(resp != NULL); 968 ret = http_server_response_send_more(resp);
|
H A D | http-server-response.c | 13 struct http_server_response *resp; member in struct:http_server_response_payload 24 http_server_response_debug(struct http_server_response *resp, 28 http_server_response_debug(struct http_server_response *resp, argument 33 if (resp->request->server->set.debug) { 36 http_server_request_label(resp->request), resp->status, 43 http_server_response_error(struct http_server_response *resp, 47 http_server_response_error(struct http_server_response *resp, argument 54 http_server_request_label(resp->request), resp 67 struct http_server_response *resp; local 91 http_server_response_free(struct http_server_response *resp) argument 102 http_server_response_add_header(struct http_server_response *resp, const char *key, const char *value) argument 129 http_server_response_update_status(struct http_server_response *resp, unsigned int status, const char *reason) argument 139 http_server_response_set_date(struct http_server_response *resp, time_t date) argument 147 http_server_response_set_payload(struct http_server_response *resp, struct istream *input) argument 169 http_server_response_set_payload_data(struct http_server_response *resp, const unsigned char *data, size_t size) argument 186 http_server_response_add_auth( struct http_server_response *resp, const struct http_auth_challenge *chlng) argument 200 http_server_response_add_auth_basic( struct http_server_response *resp, const char *realm) argument 210 http_server_response_do_submit(struct http_server_response *resp) argument 219 http_server_response_submit(struct http_server_response *resp) argument 226 http_server_response_submit_close(struct http_server_response *resp) argument 232 http_server_response_submit_tunnel(struct http_server_response *resp, http_server_tunnel_callback_t callback, void *context) argument 244 http_server_response_finish_payload_out(struct http_server_response *resp) argument 272 struct http_server_response *resp = rpay->resp; local 319 struct http_server_response *resp = *_resp; local 430 struct http_server_response *resp = *_resp; local 455 struct http_server_response *resp = *_resp; local 468 struct http_server_response *resp = *_resp; local 478 http_server_response_payload_input(struct http_server_response *resp) argument 487 http_server_response_send_more(struct http_server_response *resp) argument 558 http_server_response_send_real(struct http_server_response *resp) argument 696 http_server_response_send(struct http_server_response *resp) argument 713 struct http_server_response *resp; member in struct:http_server_ostream 780 http_server_response_get_payload_output(struct http_server_response *resp, bool blocking) argument 802 http_server_response_get_status(struct http_server_response *resp, int *status_r, const char **reason_r) argument 810 http_server_response_get_total_size(struct http_server_response *resp) argument [all...] |
H A D | http-server-request.c | 321 struct http_server_response *resp = req->response; local 322 http_server_tunnel_callback_t tunnel_callback = resp->tunnel_callback; 323 void *tunnel_context = resp->tunnel_context; 337 resp->status, resp->reason)); 367 struct http_server_response *resp; variable in typeref:struct:http_server_response 373 resp = http_server_response_create(req, status, reason); 376 (resp, "Content-Type", "text/plain; charset=utf-8"); 381 (resp, (const unsigned char *)text, strlen(text)); 384 return resp; 392 struct http_server_response *resp; variable in typeref:struct:http_server_response 397 http_server_response_submit(resp); variable 429 struct http_server_response *resp; local [all...] |
H A D | test-http-server-errors.c | 130 struct http_server_response *resp; local 133 resp = http_server_response_create(req, 200, "OK"); 134 http_server_response_submit(resp); 232 struct http_server_response *resp; local 263 resp = http_server_response_create(req, 200, "OK"); 264 http_server_response_submit(resp); 370 struct http_server_response *resp; local 387 resp = http_server_response_create(req, 200, "OK"); 397 (resp, str_data(payload), str_len(payload)); 399 http_server_response_submit(resp); 493 struct http_server_response *resp; local 514 struct http_server_response *resp; local [all...] |
H A D | test-http-payload.c | 209 struct http_server_response *resp; local 217 resp = http_server_response_create(req, 200, "OK"); 218 http_server_response_submit(resp); 231 struct http_server_response *resp; local 256 resp = http_server_response_create(req, 200, "OK"); 257 http_server_response_add_header(resp, "Content-Type", "text/plain"); 260 output = http_server_response_get_payload_output(resp, TRUE); 276 http_server_response_set_payload(resp, fstream); 277 http_server_response_submit(resp); 287 struct http_server_response *resp; local 351 struct http_server_response *resp; local 809 test_client_download_response(const struct http_response *resp, struct test_client_request *tcreq) argument 1046 test_client_echo_response(const struct http_response *resp, struct test_client_request *tcreq) argument [all...] |
H A D | test-http-client-errors.c | 98 const struct http_response *resp, 102 i_debug("RESPONSE: %u %s", resp->status, resp->reason); 104 test_assert(resp->status == HTTP_CLIENT_REQUEST_ERROR_CONNECT_FAILED); 105 test_assert(resp->reason != NULL && *resp->reason != '\0'); 166 const struct http_response *resp, 170 i_debug("RESPONSE: %u %s", resp->status, resp->reason); 177 const struct http_response *resp, 97 test_client_unconfigured_ssl_response( const struct http_response *resp, struct _unconfigured_ssl *ctx) argument 165 test_client_unconfigured_ssl_abort_response1( const struct http_response *resp, struct _unconfigured_ssl_abort *ctx ATTR_UNUSED) argument 176 test_client_unconfigured_ssl_abort_response2( const struct http_response *resp, struct _unconfigured_ssl_abort *ctx) argument 243 test_client_invalid_url_response( const struct http_response *resp, struct _invalid_url *ctx) argument 309 test_client_host_lookup_failed_response( const struct http_response *resp, struct _host_lookup_failed *ctx) argument 384 test_client_connection_refused_response( const struct http_response *resp, struct _connection_refused *ctx) argument 494 test_client_connection_lost_prematurely_response( const struct http_response *resp, struct _connection_lost_prematurely *ctx) argument 580 test_client_connection_timed_out_response( const struct http_response *resp, struct _connection_timed_out *ctx) argument 649 static const char *resp = local 668 static const char *resp = local 687 string_t *resp; local 709 test_client_invalid_redirect_response( const struct http_response *resp, void *context ATTR_UNUSED) argument 779 string_t *resp; local 801 test_client_unseekable_redirect_response( const struct http_response *resp, void *context ATTR_UNUSED) argument 873 test_client_unseekable_retry_response( const struct http_response *resp, void *context ATTR_UNUSED) argument 933 static const char *resp = local 951 test_client_broken_payload_response( const struct http_response *resp, void *context ATTR_UNUSED) argument 1053 test_client_connection_lost_response( const struct http_response *resp, struct _connection_lost_request_ctx *rctx) argument 1173 static const char *resp = local 1193 test_client_connection_lost_100_response( const struct http_response *resp, struct _connection_lost_100_ctx *ctx) argument 1274 static const char *resp = local 1295 test_client_connection_lost_sub_ioloop_response2( const struct http_response *resp, struct ioloop *sub_ioloop) argument 1305 test_client_connection_lost_sub_ioloop_response( const struct http_response *resp, struct _connection_lost_sub_ioloop_ctx *ctx) argument 1404 static const char *resp = local 1428 test_client_early_success_response( const struct http_response *resp, struct _early_success_ctx *ctx) argument 1522 static const char *resp = local 1542 test_client_bad_response_response( const struct http_response *resp, struct _bad_response_ctx *ctx) argument 1625 test_client_request_timed_out1_response( const struct http_response *resp, struct _request_timed_out1_ctx *ctx) argument 1682 test_client_request_timed_out2_response( const struct http_response *resp, struct _request_timed_out2_ctx *ctx) argument 1814 static const char *resp = local 1840 test_client_request_aborted_early_response( const struct http_response *resp, struct _request_aborted_early_ctx *ctx ATTR_UNUSED) argument 1926 static const char *resp = local 1949 test_client_request_failed_blocking_response( const struct http_response *resp, struct _request_failed_blocking_ctx *ctx ATTR_UNUSED) argument 2017 static const char *resp = local 2042 test_client_client_deinit_early_response( const struct http_response *resp, struct _client_deinit_early_ctx *ctx ATTR_UNUSED) argument 2119 string_t *resp; local 2145 test_client_retry_with_delay_response( const struct http_response *resp, struct _client_retry_with_delay_ctx *ctx) argument 2228 test_client_dns_service_failure_response( const struct http_response *resp, struct _dns_service_failure *ctx) argument 2313 test_client_dns_timeout_response( const struct http_response *resp, struct _dns_timeout *ctx) argument 2401 test_client_dns_lookup_failure_response( const struct http_response *resp, struct _dns_lookup_failure *ctx) argument 2502 string_t *resp; local 2529 test_client_dns_lookup_ttl_response_stage2( const struct http_response *resp, struct _dns_lookup_ttl *ctx) argument 2568 test_client_dns_lookup_ttl_response_stage1( const struct http_response *resp, struct _dns_lookup_ttl *ctx) argument 2637 static const char *resp = local 2661 test_client_peer_reuse_failure_response2( const struct http_response *resp, struct _peer_reuse_failure *ctx) argument 2689 test_client_peer_reuse_failure_response1( const struct http_response *resp, struct _peer_reuse_failure *ctx) argument 2799 static const char *resp = local 2823 test_client_reconnect_failure_response2( const struct http_response *resp, struct _reconnect_failure_ctx *ctx) argument 2856 test_client_reconnect_failure_response1( const struct http_response *resp, struct _reconnect_failure_ctx *ctx) argument [all...] |
/dovecot/src/auth/ |
H A D | passdb-pam.c | 64 struct pam_response *resp; local 70 resp = calloc(num_msg, sizeof(struct pam_response)); 71 if (resp == NULL) 101 if (resp[i].resp != NULL) { 102 safe_memset(resp[i].resp, 0, 103 strlen(resp[i].resp)); 104 free(resp[ [all...] |