]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: sample: add a private field to the struct sample_conv
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 26 Nov 2013 08:54:50 +0000 (09:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 22:31:33 +0000 (23:31 +0100)
These flags will be used for maps, and possibly later to pass some
extra information to other converters if needed.

include/types/sample.h

index a2d2296c8ba87be6982ebeb35cf6e6360a05ee6c..46bc75b6afcae057e233d0a38ab847ba614bf034 100644 (file)
@@ -260,6 +260,7 @@ struct sample_conv {
                        char **err_msg);          /* argument validation function */
        unsigned int in_type;                     /* expected input sample type */
        unsigned int out_type;                    /* output sample type */
+       unsigned int private;                     /* private values. only used by maps */
 };
 
 /* sample conversion expression */