/*The following definitions come from passdb/ldap.c */
BOOL ldap_open_connection(BOOL modify);
-void ldap_close_connection();
+void ldap_close_connection(void);
BOOL ldap_search_for(char *filter);
BOOL ldap_search_by_name(const char *user);
BOOL ldap_search_by_uid(int uid);
/*******************************************************************
- Open/close connections to the LDAP server.
+ Open connections to the LDAP server.
******************************************************************/
BOOL ldap_open_connection(BOOL modify)
return (True);
}
-void ldap_close_connection()
+/*******************************************************************
+ close connections to the LDAP server.
+ ******************************************************************/
+
+void ldap_close_connection(void)
{
if(!ldap_struct)
return;