MINOR: checks: add a flag to indicate what check is an agent
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Dec 2013 20:15:19 +0000 (21:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Dec 2013 15:02:20 +0000 (16:02 +0100)
commit3343432fcdb6e8dc1119d27eca121194f5dc6d34
tree42b8b22343666916d5a566b1aa4f837d276a00b7
parentd8514a2a0572f23a1bda6cd4fe32ee3b6e805719
MINOR: checks: add a flag to indicate what check is an agent

Currently to know if a check is an agent, we compare its pointer to its
servers' agent pointer. Better have a flag in its state to indicate this.
include/types/checks.h
src/cfgparse.c
src/checks.c