diff src/http/modules/ngx_http_ssi_filter_module.h @ 4438:2840ff6b97bd stable-1.0

Merge of r4375, r4382: SSI changes: *) The "if" command did not work inside the "block" command and produced parsing errors. *) Added regex captures support in the expression of the "if" command.
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 05 Feb 2012 14:09:46 +0000
parents 2d8fab47dd89
children d620f497c50f
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.h
+++ b/src/http/modules/ngx_http_ssi_filter_module.h
@@ -64,6 +64,12 @@ typedef struct {
     ngx_list_t               *variables;
     ngx_array_t              *blocks;
 
+#if (NGX_PCRE)
+    ngx_uint_t                ncaptures;
+    int                      *captures;
+    u_char                   *captures_data;
+#endif
+
     unsigned                  conditional:2;
     unsigned                  encoding:2;
     unsigned                  block:1;