From: Thierry FOURNIER Date: Tue, 22 Sep 2015 16:26:42 +0000 (+0200) Subject: MINOR: action: add private configuration X-Git-Tag: v1.6-dev6~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ea160cb5fc30495bd2137dd62678a9c97e58157;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/types/action.h b/include/types/action.h index 2461f79829..d74e5ba30b 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 {