commit | 6ef1648dc2f16b293f2e80f4715e926edf649c02 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 06 18:07:53 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 06 18:33:49 2022 +0200 |
tree | a98b39d607f0a4f003ef7f0855b864465eb882f8 | |
parent | 1c0715b12a8bef3cc0b7666a0a43674afef0f1f1 [diff] |
CLEANUP: stats: rename the stats state values an mark the old ones deprecated The STAT_ST_* values have been abused by virtually every applet and CLI keyword handler, and this must not continue as it's a source of bugs and of overly complicated code. This patch renames the states to STAT_STATE_*, and keeps the previous enum while marking each entry as deprecated. This should be sufficient to catch out-of-tree code that might rely on them and to let them know what to do with that.