openldap/libraries/libldap/init.c
Kurt Zeilenga 5960272713 Split out ldapoptions from struct ldap to facilate global options.
Add openldap_ldap_initialize() call to ldap_init/ldap_open/ldap_get/set_options.
1998-11-09 18:40:37 +00:00

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;
}