/dovecot/src/lib-http/ |
H A D | test-http-request-parser.c | 26 } target; member in struct:http_request_valid_parse_test 45 .target = { 57 .target = { 68 .target = { 81 .target = { 98 .target = { 113 .target = { 126 .target = { 139 .target = { 152 .target [all...] |
H A D | test-http-server.c | 86 str_printfa(content, "Host: %s", http_req->target.url->host.name); 87 if (http_req->target.url->port != 0) 88 str_printfa(content, ":%u", http_req->target.url->port); 90 switch (http_req->target.format) { 94 http_url_create(http_req->target.url)); 98 http_url_create_authority(http_req->target.url)); 105 /* Just respond with the request target */
|
H A D | http-request.h | 37 struct http_request_target target; member in struct:http_request
|
H A D | http-url.h | 54 struct http_request_target *target, const char **error_r);
|
H A D | http-client-request.c | 47 http_url_create_host(&req->origin_url), req->target); 58 if (req->target != NULL) 59 event_add_str(req->event, "target", req->target); 129 const char *method, const char *host, const char *target, 136 req->target = (target == NULL ? "/" : p_strdup(req->pool, target)); 151 req->target = p_strdup(req->pool, http_url_create_target(target_url)); 186 req->target 128 http_client_request(struct http_client *client, const char *method, const char *host, const char *target, http_client_request_callback_t *callback, void *context) argument 785 const char *authority, *target; local 1546 const char *error, *target, *origin_url; local [all...] |
H A D | http-client.h | 139 /* Failed to parse HTTP target url */ 218 const char *method, const char *host, const char *target, 220 #define http_client_request(client, method, host, target, callback, context) \ 221 http_client_request(client, method, host, target + \ 373 /* return the HTTP target for the request */
|
H A D | http-url.c | 59 message as a request target or header field value. Before making 121 request-target = origin-form / absolute-form / authority-form / 195 * ["//"] authority ; when parsing a request target 208 parser->error = "Request target is invalid"; 355 const char *host_header, pool_t pool, struct http_request_target *target, 381 target->url = url; 382 target->format = HTTP_REQUEST_TARGET_FORMAT_ASTERISK; 404 target->url = url_parser.url; 405 target->format = url_parser.req_format; 354 http_url_request_target_parse(const char *request_target, const char *host_header, pool_t pool, struct http_request_target *target, const char **error_r) argument
|
H A D | http-server.h | 295 struct http_server_request *req, struct http_url *target);
|
H A D | http-client-private.h | 87 const char *method, *target; member in struct:http_client_request
|
H A D | http-request-parser.c | 129 target properly encoded (FIXME). */ 133 /* target is too long when explicit limit is exceeded or when input buffer 135 /* FIXME: put limit on full request line rather than target and method 137 /* FIXME: is it wise to keep target in stream buffer? It can become very 143 parser->parser.error = "HTTP request target is too long"; 173 request-line = method SP request-target SP HTTP-version CRLF 232 ("Unexpected character %s in request target", 587 pool, &request->target, &error) < 0) { 589 *error_r = t_strdup_printf("Bad request target `%s': %s",
|
H A D | http-server-connection.c | 289 if (req->req.target.format != HTTP_REQUEST_TARGET_FORMAT_AUTHORITY) { 294 (conn->context, req, req->req.target.url);
|
H A D | test-http-payload.c | 506 const char *path = hreq->target.url->path, *p;
|
/dovecot/src/lib-ntlm/ |
H A D | ntlm-encrypt.h | 16 void ntlmssp_v2_response(const char *user, const char *target,
|
H A D | ntlm-encrypt.c | 73 ntlm_v2_hash(const char *user, const char *target, argument 81 if (target != NULL) 82 hmac_md5_ucs2le_string_ucase(&ctx, target); 122 ntlmssp_v2_response(const char *user, const char *target, argument 131 ntlm_v2_hash(user, target, hash_v1, hash);
|
/dovecot/src/lib-imap-urlauth/ |
H A D | imap-urlauth-connection.c | 34 struct imap_urlauth_target *target; member in struct:imap_urlauth_request 79 /* userid => target struct */ 165 struct imap_urlauth_target *target = conn->targets_head; local 167 while (target != NULL) { 168 if (strcmp(target->userid, target_user) == 0) 169 return target; 170 target = target->next; 173 target = i_new(struct imap_urlauth_target, 1); 174 target 180 imap_urlauth_target_free(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target) argument 191 struct imap_urlauth_target *target = conn->targets_head; local 285 struct imap_urlauth_target *target; local 311 struct imap_urlauth_target *target = urlreq->target; local 386 imap_urlauth_target_abort(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target) argument 402 imap_urlauth_target_fail(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target, const char *error) argument 418 imap_urlauth_target_abort_by_context(struct imap_urlauth_connection *conn, struct imap_urlauth_target *target, void *context) argument 441 struct imap_urlauth_target *target, *next; local 459 struct imap_urlauth_target *target, *next; local [all...] |
/dovecot/src/doveadm/ |
H A D | doveadm-util.h | 16 int doveadm_tcp_connect(const char *target, in_port_t default_port);
|
H A D | doveadm-util.c | 124 int doveadm_tcp_connect(const char *target, in_port_t default_port) argument 129 if (net_str2hostport(target, default_port, &host, &port) < 0) { 131 "or use %s:port", target, target);
|
H A D | doveadm-cmd.c | 364 ARRAY_TYPE(const_string) *target = argv; 366 target = &pargv; 381 array_append(target, ¶ms[i].value.v_string,1); 385 array_append(target, &tmp, 1); 388 array_append(target, &tmp, 1); 393 array_append(target, cptr, 1);
|
H A D | client-connection-http.c | 944 url = http_url_create(http_req->target.url); 948 http_req->method, http_req->target.url->path, 1111 strcmp(http_req->target.url->path,
|
H A D | doveadm-dsync.c | 810 const char *target, bool ssl, const char **error_r) 820 server->name = p_strdup(ctx->ctx.pool, target); 808 dsync_connect_tcp(struct dsync_cmd_context *ctx, const struct mail_storage_settings *mail_set, const char *target, bool ssl, const char **error_r) argument
|