1 2 3 typedef struct { 4 ngx_array_t *a; 5 ngx_uint_t prefix; 6 } ndk_http_complex_path_t; 7 8 typedef struct { 9 ngx_http_complex_value_t val; 10 ngx_flag_t dynamic; 11 } ndk_http_complex_path_elt_t; 12 13 typedef struct { 14 ngx_str_t val; 15 ngx_flag_t dynamic; 16 } ndk_http_complex_path_value_t; 17 18 typedef struct { 19 ndk_http_complex_path_value_t *elts; 20 ngx_uint_t nelts; 21 } ndk_http_complex_path_values_t; 22 23 24 extern ndk_http_complex_path_value_t ndk_empty_http_complex_path_value; 25 26 27 ngx_array_t * ndk_http_complex_path_create_compile (ngx_conf_t *cf, ngx_str_t *path, ngx_uint_t prefix); 28 ngx_int_t ndk_http_complex_path_value_compile (ngx_conf_t *cf, ngx_http_complex_value_t *cv, 29 ngx_str_t *value, ngx_uint_t prefix); 30 char * ndk_conf_set_http_complex_path_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 31