Lines Matching defs:servers
61 apr_hash_t *servers;
92 static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers,
168 server = apr_hash_get(servers, ip, APR_HASH_KEY_STRING);
176 apr_hash_set(servers, server->ip, APR_HASH_KEY_STRING, server);
218 apr_hash_t *servers = (apr_hash_t *) ctx->servers;
219 hb_server_t *server = apr_hash_get(servers, slotserver->ip, APR_HASH_KEY_STRING);
225 apr_hash_set(servers, server->ip, APR_HASH_KEY_STRING, server);
245 static apr_status_t read_heartbeats(const char *path, apr_hash_t *servers,
252 ctx.servers = servers;
255 rv = readfile_heartbeats(path, servers, pool);
270 apr_hash_t *servers;
287 servers = apr_hash_make(tpool);
289 rv = read_heartbeats(ctx->path, servers, tpool);
299 up_servers = apr_array_make(tpool, apr_hash_count(servers), sizeof(hb_server_t *));
303 server = apr_hash_get(servers, (*worker)->s->hostname, APR_HASH_KEY_STRING);