#ifndef LDAP_CONNECTION_POOL_H
#define LDAP_CONNECTION_POOL_H
struct ldap_client;
struct ldap_client_settings;
struct ldap_connection_list {
int refcount;
};
struct ldap_connection_pool *
ldap_connection_pool_init(unsigned int max_connections);
/* Returns TRUE if there are connections with refcount>0 */
struct ldap_client *client,
const struct ldap_client_settings *set,
struct ldap_connection_list **list_r,
const char **error_r);
struct ldap_connection_list **list);
#endif