From 7ea160cb5fc30495bd2137dd62678a9c97e58157 Mon Sep 17 00:00:00 2001 From: Thierry FOURNIER Date: Tue, 22 Sep 2015 18:26:42 +0200 Subject: [PATCH] MINOR: action: add private configuration This private configuration pointer is used for storing some configuration data associated the keyword, So many keywords can use the same parse function, and this one can use a discriminator. --- include/types/action.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/types/action.h b/include/types/action.h index 2461f7982..d74e5ba30 100644 --- a/include/types/action.h +++ b/include/types/action.h @@ -154,6 +154,7 @@ struct action_kw { enum act_parse_ret (*parse)(const char **args, int *cur_arg, struct proxy *px, struct act_rule *rule, char **err); int match_pfx; + void *private; }; struct action_kw_list {