Home
last modified time | relevance | path

Searched refs:ldmemc_basedns (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c170 char **ldmemc_basedns; member
297 (*cachep)->ldmemc_basedns = (char**)NSLDAPI_CALLOC(i + 1, in ldap_memcache_init()
300 if ((*cachep)->ldmemc_basedns == NULL) { in ldap_memcache_init()
309 (*cachep)->ldmemc_basedns[i] = nsldapi_strdup(baseDNs[i]); in ldap_memcache_init()
310 if ((*cachep)->ldmemc_basedns[i] == NULL) in ldap_memcache_init()
315 (*cachep)->ldmemc_basedns[i] = NULL; in ldap_memcache_init()
542 if (cache->ldmemc_basedns) { in ldap_memcache_destroy()
543 for (i = 0; cache->ldmemc_basedns[i]; i++) { in ldap_memcache_destroy()
544 size += strlen(cache->ldmemc_basedns[i]) + 1; in ldap_memcache_destroy()
545 NSLDAPI_FREE(cache->ldmemc_basedns[i]); in ldap_memcache_destroy()
[all …]