Lines Matching defs:servers
425 apr_array_header_t *servers = NULL;
451 "SerfCluster: %s is missing list servers provider.", cluster->provider);
458 &servers);
462 "SerfCluster: %s list servers returned failure", cluster->provider);
466 if (servers == NULL || apr_is_empty_array(servers)) {
468 "SerfCluster: %s failed to provide a list of servers", cluster->provider);
472 /* TOOD: restructure try all servers in the array !! */
473 pick = ap_random_pick(0, servers->nelts-1);
474 choice = APR_ARRAY_IDX(servers, pick, ap_serf_server_t *);
840 apr_array_header_t *servers,
922 APR_ARRAY_PUSH(servers, hb_server_t *) = server;
954 apr_array_header_t *servers;
974 servers = apr_array_make(r->pool, tmpservers->nelts, sizeof(ap_serf_server_t *));
986 APR_ARRAY_PUSH(servers, ap_serf_server_t *) = x;
990 *out_servers = servers;
1052 apr_array_header_t *servers;
1056 servers = apr_array_make(r->pool, 10, sizeof(ap_serf_server_t *));
1069 APR_ARRAY_PUSH(servers, ap_serf_server_t *) = s;
1078 *out_servers = servers;