The scope member is not used. This patch removes this entry.
};
struct http_req_action_kw_list {
- const char *scope;
struct list list;
struct http_req_action_kw kw[VAR_ARRAY];
};
struct http_res_action_kw_list {
- const char *scope;
struct list list;
struct http_res_action_kw kw[VAR_ARRAY];
};
};
struct tcp_action_kw_list {
- const char *scope;
struct list list;
struct tcp_action_kw kw[VAR_ARRAY];
};
{ 0, NULL, NULL },
}};
-static struct http_req_action_kw_list http_req_kws = {"lua", { }, {
+static struct http_req_action_kw_list http_req_kws = { { }, {
{ "lua", http_req_action_register_lua },
{ NULL, NULL }
}};
-static struct http_res_action_kw_list http_res_kws = {"lua", { }, {
+static struct http_res_action_kw_list http_res_kws = { { }, {
{ "lua", http_res_action_register_lua },
{ NULL, NULL }
}};
-static struct tcp_action_kw_list tcp_req_cont_kws = {"lua", { }, {
+static struct tcp_action_kw_list tcp_req_cont_kws = { { }, {
{ "lua", tcp_req_action_register_lua },
{ NULL, NULL }
}};
-static struct tcp_action_kw_list tcp_res_cont_kws = {"lua", { }, {
+static struct tcp_action_kw_list tcp_res_cont_kws = { { }, {
{ "lua", tcp_res_action_register_lua },
{ NULL, NULL }
}};
/* All supported http-request action keywords must be declared here. */
/************************************************************************/
struct http_req_action_kw_list http_req_actions = {
- .scope = "http",
.kw = {
{ "capture", parse_http_req_capture },
{ "set-method", parse_set_req_line },
};
struct http_res_action_kw_list http_res_actions = {
- .scope = "http",
.kw = {
{ "capture", parse_http_res_capture },
{ NULL, NULL }
{ /* END */ },
}};
-static struct tcp_action_kw_list tcp_req_kws = {"vars", { }, {
+static struct tcp_action_kw_list tcp_req_kws = { { }, {
{ "set-var", parse_tcp_req_store, 1 },
{ /* END */ }
}};
-static struct tcp_action_kw_list tcp_res_kws = {"vars", { }, {
+static struct tcp_action_kw_list tcp_res_kws = { { }, {
{ "set-var", parse_tcp_res_store, 1 },
{ /* END */ }
}};
-static struct http_req_action_kw_list http_req_kws = {"vars", { }, {
+static struct http_req_action_kw_list http_req_kws = { { }, {
{ "set-var", parse_http_req_store, 1 },
{ /* END */ }
}};
-static struct http_res_action_kw_list http_res_kws = {"vars", { }, {
+static struct http_res_action_kw_list http_res_kws = { { }, {
{ "set-var", parse_http_res_store, 1 },
{ /* END */ }
}};