Hi, This series is a revised subset of "[PATCH v6 00/22] Agent Check Enhancements and External Check". I have broken it out as a smaller set of patches to allow review to be done in smaller chunks.
Although these patches aren't particularly useful in their own right they also should not break anything and were positively reviewed when last posted. This series is based on 0bb166b ("MINOR: tcp: don't use tick_add_ifset() when timeout is known to be set") which is the head of the current master branch on haproxy.org. This series depends on " [PATCH v7] CLEANUP: Make parameters of srv_downtime and srv_getinter const" to apply cleanly. To aid review this series is available in git at https://github.com/horms/haproxy.git/agent-check-prep-v7 To further aid review, my working version of the fuller patch-set, based on this patchset, is available at https://github.com/horms/haproxy.git/agent-check-v7.snapshot.20131105 Simon Horman (5): MEDIUM: Move result element to struct check MEDIUM: Paramatise functions over the check of a server MEDIUM: cfgparse: Factor out check initialisation MEDIUM: Add state to struct check MEDIUM: Move health element to struct check include/proto/checks.h | 4 +- include/proto/server.h | 2 +- include/types/server.h | 11 +- src/cfgparse.c | 70 ++++--- src/checks.c | 543 +++++++++++++++++++++++++------------------------ src/dumpstats.c | 22 +- src/proto_http.c | 6 +- src/server.c | 14 +- 8 files changed, 349 insertions(+), 323 deletions(-) -- 1.8.4