From: Thierry FOURNIER Date: Thu, 21 Nov 2013 09:51:50 +0000 (+0100) Subject: MINOR: sample: export the generic sample conversion parser X-Git-Tag: v1.5-dev20~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f49967381ca8e0037ae36e797b2e573ee152f3;p=thirdparty%2Fhaproxy.git MINOR: sample: export the generic sample conversion parser just export function "find_sample_conv()" to prepare the generic sample conversion parser. --- diff --git a/include/proto/sample.h b/include/proto/sample.h index 3043662d96..db1053771f 100644 --- a/include/proto/sample.h +++ b/include/proto/sample.h @@ -27,6 +27,7 @@ #include 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);