From cdb67cad0193b94f485631c5de3d21f38a78e5c7 Mon Sep 17 00:00:00 2001 From: Thierry FOURNIER Date: Tue, 26 May 2015 17:38:47 +0200 Subject: [PATCH] MINOR: http: add array of generic pointers in http_res_rules This patch adds an array of generic pointers in the http_res_rules struct. It is used later by the "response capture" functions. --- include/types/proto_http.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/types/proto_http.h b/include/types/proto_http.h index 3d170572c..19efedc96 100644 --- a/include/types/proto_http.h +++ b/include/types/proto_http.h @@ -477,6 +477,9 @@ struct http_res_rule { struct list key; /* pattern to retrieve MAP or ACL key */ struct list value; /* pattern to retrieve MAP value */ } map; + struct { + void *p[4]; + } act; /* generic pointers to be used by custom actions */ } arg; /* arguments used by some actions */ };