int be_downtime(struct proxy *px);
void recount_servers(struct proxy *px);
void update_backend_weight(struct proxy *px);
-struct server *get_server_sh(struct proxy *px, const char *addr, int len);
-struct server *get_server_uh(struct proxy *px, char *uri, int uri_len);
int be_lastsession(const struct proxy *be);
/* Returns number of usable servers in backend */
* If any server is found, it will be returned. If no valid server is found,
* NULL is returned.
*/
-struct server *get_server_sh(struct proxy *px, const char *addr, int len)
+static struct server *get_server_sh(struct proxy *px, const char *addr, int len)
{
unsigned int h, l;
* algorithm out of a tens because it gave him the best results.
*
*/
-struct server *get_server_uh(struct proxy *px, char *uri, int uri_len)
+static struct server *get_server_uh(struct proxy *px, char *uri, int uri_len)
{
unsigned int hash = 0;
int c;