]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: sample: export the generic sample conversion parser
authorThierry FOURNIER <tfournier@exceliance.fr>
Thu, 21 Nov 2013 09:51:50 +0000 (10:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 22:31:32 +0000 (23:31 +0100)
just export function "find_sample_conv()" to prepare the
generic sample conversion parser.

include/proto/sample.h

index 3043662d96536a8808254e57881fa656751dad8e..db1053771fda887e6ce8436ac6cab9cff0af3c57 100644 (file)
@@ -27,6 +27,7 @@
 #include <types/stick_table.h>
 
 struct sample_expr *sample_parse_expr(char **str, int *idx, char *err, int err_size, struct arg_list *al);
+struct sample_conv *find_sample_conv(const char *kw, int len);
 struct sample *sample_process(struct proxy *px, struct session *l4,
                                void *l7, unsigned int dir, struct sample_expr *expr,
                                struct sample *p);