We'll need it to centralize the stream connectors definitions.
const char *init_check(struct check *check, int type);
void free_check(struct check *check);
void check_purge(struct check *check);
+int wake_srv_chk(struct stconn *cs);
int init_srv_check(struct server *srv);
int init_srv_agent_check(struct server *srv);
INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE);
-static int wake_srv_chk(struct stconn *cs);
struct data_cb check_conn_cb = {
.wake = wake_srv_chk,
.name = "CHCK",
* It returns 0 on normal cases, <0 if at least one close() has happened on the
* connection (eg: reconnect). It relies on tcpcheck_main().
*/
-static int wake_srv_chk(struct stconn *cs)
+int wake_srv_chk(struct stconn *cs)
{
struct connection *conn;
struct check *check = __cs_check(cs);