mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
CLEANUP: sample: uninline sample_conv_var2smp_str()
There's no reason to limit this one to this file, it could be used in other contexts.
This commit is contained in:
parent
d9be599529
commit
4034e2cb58
@ -41,6 +41,7 @@ struct sample *sample_fetch_as_type(struct proxy *px, struct session *sess,
|
||||
struct stream *strm, unsigned int opt,
|
||||
struct sample_expr *expr, int smp_type);
|
||||
int sample_conv_var2smp_sint(const struct arg *arg, struct sample *smp);
|
||||
int sample_conv_var2smp_str(const struct arg *arg, struct sample *smp);
|
||||
void release_sample_expr(struct sample_expr *expr);
|
||||
void sample_register_fetches(struct sample_fetch_kw_list *psl);
|
||||
void sample_register_convs(struct sample_conv_kw_list *psl);
|
||||
|
@ -1744,7 +1744,7 @@ static int sample_conv_sha2(const struct arg *arg_p, struct sample *smp, void *p
|
||||
*
|
||||
* This function returns 0 if an error occurs, otherwise it returns 1.
|
||||
*/
|
||||
static inline int sample_conv_var2smp_str(const struct arg *arg, struct sample *smp)
|
||||
int sample_conv_var2smp_str(const struct arg *arg, struct sample *smp)
|
||||
{
|
||||
switch (arg->type) {
|
||||
case ARGT_STR:
|
||||
|
Loading…
x
Reference in New Issue
Block a user