nxt_http.h (2133:46433e3cef45) nxt_http.h (2139:99d792169ffb)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_HTTP_H_INCLUDED_
8#define _NXT_HTTP_H_INCLUDED_

--- 362 unchanged lines hidden (view full) ---

371
372nxt_int_t nxt_http_return_init(nxt_mp_t *mp, nxt_http_action_t *action,
373 nxt_http_action_conf_t *acf);
374
375nxt_int_t nxt_http_static_init(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
376 nxt_http_action_t *action, nxt_http_action_conf_t *acf);
377nxt_int_t nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash);
378nxt_int_t nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash,
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_HTTP_H_INCLUDED_
8#define _NXT_HTTP_H_INCLUDED_

--- 362 unchanged lines hidden (view full) ---

371
372nxt_int_t nxt_http_return_init(nxt_mp_t *mp, nxt_http_action_t *action,
373 nxt_http_action_conf_t *acf);
374
375nxt_int_t nxt_http_static_init(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
376 nxt_http_action_t *action, nxt_http_action_conf_t *acf);
377nxt_int_t nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash);
378nxt_int_t nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash,
379 nxt_str_t *exten, nxt_str_t *type);
380nxt_str_t *nxt_http_static_mtype_get(nxt_lvlhsh_t *hash, nxt_str_t *exten);
379 const nxt_str_t *exten, nxt_str_t *type);
380nxt_str_t *nxt_http_static_mtype_get(nxt_lvlhsh_t *hash,
381 const nxt_str_t *exten);
381
382nxt_http_action_t *nxt_http_application_handler(nxt_task_t *task,
383 nxt_http_request_t *r, nxt_http_action_t *action);
384nxt_int_t nxt_upstream_find(nxt_upstreams_t *upstreams, nxt_str_t *name,
385 nxt_http_action_t *action);
386nxt_http_action_t *nxt_upstream_proxy_handler(nxt_task_t *task,
387 nxt_http_request_t *r, nxt_upstream_t *upstream);
388

--- 30 unchanged lines hidden ---
382
383nxt_http_action_t *nxt_http_application_handler(nxt_task_t *task,
384 nxt_http_request_t *r, nxt_http_action_t *action);
385nxt_int_t nxt_upstream_find(nxt_upstreams_t *upstreams, nxt_str_t *name,
386 nxt_http_action_t *action);
387nxt_http_action_t *nxt_upstream_proxy_handler(nxt_task_t *task,
388 nxt_http_request_t *r, nxt_upstream_t *upstream);
389

--- 30 unchanged lines hidden ---