REORG: vars: remerge sample_store{,_stream}() into var_set()
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Sep 2021 09:37:37 +0000 (11:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Sep 2021 09:10:16 +0000 (11:10 +0200)
commitf1cb0ebe3e8761e0fa8a622e270259351bd56fad
tree3ada9728e82ffc3aef60799aae19fe6a1054936d
parentd378eb82d9b34ca38542ea0cda6c7855fa6d9bae
REORG: vars: remerge sample_store{,_stream}() into var_set()

The names for these two functions are totally misleading, they have
nothing to do with samples, they're purely dedicated to variables. The
former is only used by the second one and makes no sense by itself, so
it cannot even get a meaningful name. Let's remerge them into a single
one called "var_set()" which, as its name tries to imply, sets a variable
to a given value.
src/vars.c