nxt_http_parse.h (1270:9efa309be18b) nxt_http_parse.h (1459:358b957ca294)
1
2/*
3 * Copyright (C) NGINX, Inc.
4 * Copyright (C) Valentin V. Bartenev
5 */
6
7#ifndef _NXT_HTTP_PARSER_H_INCLUDED_
8#define _NXT_HTTP_PARSER_H_INCLUDED_

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

97
98nxt_int_t nxt_http_parse_request_init(nxt_http_request_parse_t *rp,
99 nxt_mp_t *mp);
100nxt_int_t nxt_http_parse_request(nxt_http_request_parse_t *rp,
101 nxt_buf_mem_t *b);
102nxt_int_t nxt_http_parse_fields(nxt_http_request_parse_t *rp,
103 nxt_buf_mem_t *b);
104
1
2/*
3 * Copyright (C) NGINX, Inc.
4 * Copyright (C) Valentin V. Bartenev
5 */
6
7#ifndef _NXT_HTTP_PARSER_H_INCLUDED_
8#define _NXT_HTTP_PARSER_H_INCLUDED_

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

97
98nxt_int_t nxt_http_parse_request_init(nxt_http_request_parse_t *rp,
99 nxt_mp_t *mp);
100nxt_int_t nxt_http_parse_request(nxt_http_request_parse_t *rp,
101 nxt_buf_mem_t *b);
102nxt_int_t nxt_http_parse_fields(nxt_http_request_parse_t *rp,
103 nxt_buf_mem_t *b);
104
105nxt_int_t nxt_http_fields_hash(nxt_lvlhsh_t *hash, nxt_mp_t *mp,
105nxt_int_t nxt_http_fields_hash(nxt_lvlhsh_t *hash,
106 nxt_http_field_proc_t items[], nxt_uint_t count);
106 nxt_http_field_proc_t items[], nxt_uint_t count);
107nxt_uint_t nxt_http_fields_hash_collisions(nxt_lvlhsh_t *hash, nxt_mp_t *mp,
107nxt_uint_t nxt_http_fields_hash_collisions(nxt_lvlhsh_t *hash,
108 nxt_http_field_proc_t items[], nxt_uint_t count, nxt_bool_t level);
109nxt_int_t nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash,
110 void *ctx);
111
112
113extern const nxt_lvlhsh_proto_t nxt_http_fields_hash_proto;
114
115nxt_inline nxt_int_t

--- 22 unchanged lines hidden ---
108 nxt_http_field_proc_t items[], nxt_uint_t count, nxt_bool_t level);
109nxt_int_t nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash,
110 void *ctx);
111
112
113extern const nxt_lvlhsh_proto_t nxt_http_fields_hash_proto;
114
115nxt_inline nxt_int_t

--- 22 unchanged lines hidden ---