Lines Matching defs:rdns
160 char **rdns;
169 if ( (rdns = (char **)NSLDAPI_MALLOC( 8 * sizeof(char *) )) == NULL ) {
180 if ( (rdns = (char **)NSLDAPI_REALLOC( rdns, maxcomps *
186 rdns[ncomps++] = nsldapi_strdup( s );
188 rdns[ncomps] = NULL;
191 return( rdns );
200 char *p, *q, *rdnstart, **rdns = NULL;
251 ldap_charray_free( rdns );
258 ldap_charray_free( rdns );
263 if ( rdns == NULL ) {
264 if (( rdns = (char **)NSLDAPI_MALLOC( 8
268 if (( rdns = (char **)NSLDAPI_REALLOC(
269 rdns, (count+1) *
273 rdns[ count ] = NULL;
294 if (( rdns[ count-1 ] = (char *)NSLDAPI_CALLOC(
296 SAFEMEMCPY( rdns[ count-1 ], rdnstart,
302 &rdns[count-1][len-1] )) {
306 rdns[ count-1 ][ len ] = '\0';
333 return( rdns );