]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: fill the struct sample with the options.
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 11 May 2015 13:25:29 +0000 (15:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 May 2015 18:02:11 +0000 (20:02 +0200)
commit1d33b882d20629aa387305abcc045330e82fc3ae
treecaa51af28ada3b429fa5fb469de383bd6b2645eb
parent0a9a2b8cec6186acbea5410469c685022658a4e2
MINOR: sample: fill the struct sample with the options.

Options are relative to the sample. Each sample fetched is associated with
fetch options or fetch flags.

This patch adds the 'opt' vaue in the sample struct. This permits to reduce
the sample-fetch function prototype. In other way, the converters will have
more detail about the origin of the sample.
include/types/sample.h
src/hlua.c
src/sample.c