ldap
if (!ldap) {
ldap = 1;
static int ldap = 0; /* flag to control initialization */
# include <ldap.h> /* for LDAP error codes */
# include <sm/ldap.h>
# include <sm/ldap.h>
# include <ldap.h> /* for LDAP error codes */
# include <sm/ldap.h>
typedef struct ldap LDAP; /* opaque connection handle */
extern struct ldap nsldapi_ld_defaults;
if ( (ld = (LDAP*)NSLDAPI_MALLOC( sizeof(struct ldap) )) == NULL ) {
SAFEMEMCPY( ld, &nsldapi_ld_defaults, sizeof( struct ldap ));
struct ldap nsldapi_ld_defaults;
int ldap, dns, i, pserr, rc = NS_LDAP_SUCCESS;
ldap = dns = 0;
if (ldap) {
ldap++;