[MEDIUM] stats: don't use s->ana_state anymore
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Oct 2009 12:22:18 +0000 (14:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 4 Oct 2009 12:22:18 +0000 (14:22 +0200)
commitf5a885fd28fd633453c906d5899f580d94d4ba14
tree208e6415c0c9f3596d60826b34589d5a01b85b0d
parent24955a100044695c8d40439aad7c75a9d8ab348f
[MEDIUM] stats: don't use s->ana_state anymore

The stats handler used to store internal states in s->ana_state. Now
we only rely on si->st0 in which we can store as many states as we
have possible outputs. This cleans up the stats code a lot and makes
it more maintainable. It has also reduced code size by a few hundred
bytes.
include/proto/dumpstats.h
src/dumpstats.c
src/proto_uxst.c