| 128 | } |
| 129 | |
| 130 | static int hb_watchdog_step(server_rec *s, const char *name, apr_pool_t *pool) |
| 131 | { |
| 132 | hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); |
| 133 | |
| 134 | if (!ctx->active || strcmp(name, AP_WATCHDOG_SINGLETON)) { |
| 135 | return OK; |
| 136 | } |
| 137 | return hb_monitor(ctx, pool); |
| 138 | } |
| 139 | |
| 140 | static int hb_watchdog_need(server_rec *s, const char *name, |
| 141 | int parent, int singleton) |
nothing calls this directly
no test coverage detected