Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
ngx_http_parse.c File Reference
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
Include dependency graph for ngx_http_parse.c:

Go to the source code of this file.

Macros

#define ngx_str3_cmp(m, c0, c1, c2, c3)   m[0] == c0 && m[1] == c1 && m[2] == c2
#define ngx_str3Ocmp(m, c0, c1, c2, c3)   m[0] == c0 && m[2] == c2 && m[3] == c3
#define ngx_str4cmp(m, c0, c1, c2, c3)   m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3
#define ngx_str5cmp(m, c0, c1, c2, c3, c4)   m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3 && m[4] == c4
#define ngx_str6cmp(m, c0, c1, c2, c3, c4, c5)
#define ngx_str7_cmp(m, c0, c1, c2, c3, c4, c5, c6, c7)
#define ngx_str8cmp(m, c0, c1, c2, c3, c4, c5, c6, c7)
#define ngx_str9cmp(m, c0, c1, c2, c3, c4, c5, c6, c7, c8)

Functions

ngx_int_t ngx_http_parse_request_line (ngx_http_request_t *r, ngx_buf_t *b)
ngx_int_t ngx_http_parse_header_line (ngx_http_request_t *r, ngx_buf_t *b, ngx_uint_t allow_underscores)
ngx_int_t ngx_http_parse_uri (ngx_http_request_t *r)
ngx_int_t ngx_http_parse_complex_uri (ngx_http_request_t *r, ngx_uint_t merge_slashes)
ngx_int_t ngx_http_parse_status_line (ngx_http_request_t *r, ngx_buf_t *b, ngx_http_status_t *status)
ngx_int_t ngx_http_parse_unsafe_uri (ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args, ngx_uint_t *flags)
ngx_int_t ngx_http_parse_multi_header_lines (ngx_array_t *headers, ngx_str_t *name, ngx_str_t *value)
ngx_int_t ngx_http_arg (ngx_http_request_t *r, u_char *name, size_t len, ngx_str_t *value)
void ngx_http_split_args (ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args)
ngx_int_t ngx_http_parse_chunked (ngx_http_request_t *r, ngx_buf_t *b, ngx_http_chunked_t *ctx)

Macro Definition Documentation

#define ngx_str3_cmp (   m,
  c0,
  c1,
  c2,
  c3 
)    m[0] == c0 && m[1] == c1 && m[2] == c2

Definition at line 70 of file ngx_http_parse.c.

#define ngx_str3Ocmp (   m,
  c0,
  c1,
  c2,
  c3 
)    m[0] == c0 && m[2] == c2 && m[3] == c3

Definition at line 73 of file ngx_http_parse.c.

#define ngx_str4cmp (   m,
  c0,
  c1,
  c2,
  c3 
)    m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3

Definition at line 76 of file ngx_http_parse.c.

#define ngx_str5cmp (   m,
  c0,
  c1,
  c2,
  c3,
  c4 
)    m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3 && m[4] == c4

Definition at line 79 of file ngx_http_parse.c.

#define ngx_str6cmp (   m,
  c0,
  c1,
  c2,
  c3,
  c4,
  c5 
)
Value:
m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3 \
&& m[4] == c4 && m[5] == c5

Definition at line 82 of file ngx_http_parse.c.

#define ngx_str7_cmp (   m,
  c0,
  c1,
  c2,
  c3,
  c4,
  c5,
  c6,
  c7 
)
Value:
m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3 \
&& m[4] == c4 && m[5] == c5 && m[6] == c6

Definition at line 86 of file ngx_http_parse.c.

#define ngx_str8cmp (   m,
  c0,
  c1,
  c2,
  c3,
  c4,
  c5,
  c6,
  c7 
)
Value:
m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3 \
&& m[4] == c4 && m[5] == c5 && m[6] == c6 && m[7] == c7

Definition at line 90 of file ngx_http_parse.c.

#define ngx_str9cmp (   m,
  c0,
  c1,
  c2,
  c3,
  c4,
  c5,
  c6,
  c7,
  c8 
)
Value:
m[0] == c0 && m[1] == c1 && m[2] == c2 && m[3] == c3 \
&& m[4] == c4 && m[5] == c5 && m[6] == c6 && m[7] == c7 && m[8] == c8

Definition at line 94 of file ngx_http_parse.c.

Function Documentation

ngx_int_t ngx_http_arg ( ngx_http_request_t r,
u_char *  name,
size_t  len,
ngx_str_t value 
)

Definition at line 1909 of file ngx_http_parse.c.

Here is the call graph for this function:

ngx_int_t ngx_http_parse_chunked ( ngx_http_request_t r,
ngx_buf_t b,
ngx_http_chunked_t ctx 
)

Definition at line 1972 of file ngx_http_parse.c.

ngx_int_t ngx_http_parse_complex_uri ( ngx_http_request_t r,
ngx_uint_t  merge_slashes 
)

Definition at line 1226 of file ngx_http_parse.c.

Here is the caller graph for this function:

ngx_int_t ngx_http_parse_header_line ( ngx_http_request_t r,
ngx_buf_t b,
ngx_uint_t  allow_underscores 
)

Definition at line 822 of file ngx_http_parse.c.

ngx_int_t ngx_http_parse_multi_header_lines ( ngx_array_t headers,
ngx_str_t name,
ngx_str_t value 
)

Definition at line 1836 of file ngx_http_parse.c.

Here is the call graph for this function:

ngx_int_t ngx_http_parse_request_line ( ngx_http_request_t r,
ngx_buf_t b 
)

Definition at line 104 of file ngx_http_parse.c.

ngx_int_t ngx_http_parse_status_line ( ngx_http_request_t r,
ngx_buf_t b,
ngx_http_status_t status 
)

Definition at line 1565 of file ngx_http_parse.c.

ngx_int_t ngx_http_parse_unsafe_uri ( ngx_http_request_t r,
ngx_str_t uri,
ngx_str_t args,
ngx_uint_t flags 
)

Definition at line 1775 of file ngx_http_parse.c.

Here is the call graph for this function:

ngx_int_t ngx_http_parse_uri ( ngx_http_request_t r)

Definition at line 1078 of file ngx_http_parse.c.

void ngx_http_split_args ( ngx_http_request_t r,
ngx_str_t uri,
ngx_str_t args 
)

Definition at line 1951 of file ngx_http_parse.c.

Here is the caller graph for this function: