9e6c76cae59ece71f72e33d8fac9025ee12eaf05Timo Sirainenldap_connection_pool_init(unsigned int max_connections);
9e6c76cae59ece71f72e33d8fac9025ee12eaf05Timo Sirainenvoid ldap_connection_pool_deinit(struct ldap_connection_pool **_pool);
9e6c76cae59ece71f72e33d8fac9025ee12eaf05Timo Sirainen/* Returns TRUE if there are connections with refcount>0 */
9e6c76cae59ece71f72e33d8fac9025ee12eaf05Timo Sirainenbool ldap_connection_pool_have_references(struct ldap_connection_pool *pool);
9e6c76cae59ece71f72e33d8fac9025ee12eaf05Timo Sirainenint ldap_connection_pool_get(struct ldap_connection_pool *pool,
9e6c76cae59ece71f72e33d8fac9025ee12eaf05Timo Sirainen const char **error_r);