equal
deleted
inserted
replaced
118 * or from the rule string found in the database. Unparsed |
118 * or from the rule string found in the database. Unparsed |
119 * members are just left NULL. |
119 * members are just left NULL. |
120 * |
120 * |
121 */ |
121 */ |
122 typedef struct parsed { |
122 typedef struct parsed { |
|
123 unsigned short int valid; |
123 unsigned short int type; |
124 unsigned short int type; |
124 unsigned short int negate; |
125 unsigned short int negate; |
125 unsigned short int lua; |
126 unsigned short int lua; |
|
127 char *chid; |
126 char *path_re; |
128 char *path_re; |
127 char *redir; |
129 char *redir; |
128 char *scheme; |
130 char *scheme; |
129 char *host; |
131 char *host; |
130 char *tld; |
132 char *tld; |
135 char *user; |
137 char *user; |
136 char *method; |
138 char *method; |
137 char *luapath; |
139 char *luapath; |
138 |
140 |
139 struct { |
141 struct { |
|
142 char *chid_start; |
140 char *path_re_start; |
143 char *path_re_start; |
141 char *redir_start; |
144 char *redir_start; |
142 char *scheme_start; |
145 char *scheme_start; |
143 char *host_start; |
146 char *host_start; |
144 char *port_start; |
147 char *port_start; |
145 char *path_start; |
148 char *path_start; |
146 char *meth_start; |
149 char *meth_start; |
147 char *c_ip_start; |
150 char *c_ip_start; |
148 char *luapath_start; |
151 char *luapath_start; |
|
152 unsigned short int chid_length; |
149 unsigned short int path_re_length; |
153 unsigned short int path_re_length; |
150 unsigned short int redir_length; |
154 unsigned short int redir_length; |
151 unsigned short int scheme_length; |
155 unsigned short int scheme_length; |
152 unsigned short int host_length; |
156 unsigned short int host_length; |
153 unsigned short int port_length; |
157 unsigned short int port_length; |