blob: 4c8582565f2ec6ede1eef8563e2dac5b9708510d [file] [log] [blame]
Thierry FOURNIER4834bc72015-06-06 19:29:07 +02001#ifndef _PROTO_VARS_H
2#define _PROTO_VARS_H
3
4#include <types/vars.h>
5
6void vars_init(struct vars *vars, enum vars_scope scope);
7void vars_prune(struct vars *vars, struct stream *strm);
Willy Tarreauebcd4842015-06-19 11:59:02 +02008void vars_prune_per_sess(struct vars *vars);
Thierry FOURNIERc365d992015-06-09 12:27:17 +02009int vars_get_by_name(const char *name, size_t len, struct stream *strm, struct sample *smp);
10void vars_set_by_name(const char *name, size_t len, struct stream *strm, struct sample *smp);
Thierry FOURNIER4834bc72015-06-06 19:29:07 +020011int vars_check_arg(struct arg *arg, char **err);
12
13#endif