mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
5960272713
Add openldap_ldap_initialize() call to ldap_init/ldap_open/ldap_get/set_options.
24 lines
364 B
C
24 lines
364 B
C
#include "portable.h"
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include <ac/socket.h>
|
|
#include <ac/string.h>
|
|
#include <ac/time.h>
|
|
|
|
#include "ldap-int.h"
|
|
|
|
struct ldapoptions openldap_ldap_global_options;
|
|
|
|
int openldap_ldap_initialized = 0;
|
|
|
|
void openldap_ldap_initialize( void )
|
|
{
|
|
if ( openldap_ldap_initialized ) {
|
|
return;
|
|
}
|
|
|
|
openldap_ldap_initialized = 1;
|
|
}
|