haproxy/include
Willy Tarreau 6aaa1b87cf MINOR: checks: use an enum instead of flags to report a check result
We used to have up to 4 sets of flags which were almost all exclusive
to report a check result. And the names were inherited from the old
server states, adding to the confusion. Let's replace that with an
enum handling only the possible combinations :

   SRV_CHK_UNKNOWN                   => CHK_RES_UNKNOWN
   SRV_CHK_FAILED                    => CHK_RES_FAILED
   SRV_CHK_PASSED                    => CHK_RES_PASSED
   SRV_CHK_PASSED | SRV_CHK_DISABLE  => CHK_RES_CONDPASS
2013-12-14 16:02:19 +01:00
..
common BUILD: definitely silence some stupid GCC warnings 2013-12-13 15:21:36 +01:00
import [MAJOR] replace ultree with ebtree in wait-queues 2008-06-24 08:17:16 +02:00
proto MINOR: sample: make sample_parse_expr() use memprintf() to report parse errors 2013-12-12 23:16:54 +01:00
types MINOR: checks: use an enum instead of flags to report a check result 2013-12-14 16:02:19 +01:00