Remove slapi_x_be_select()

This commit is contained in:
Luke Howard 2005-08-08 13:26:02 +00:00
parent d96f3615b3
commit d463430295
2 changed files with 0 additions and 19 deletions

View File

@ -31,7 +31,6 @@ LDAP_SLAPI_F (Modifications *) slapi_int_ldapmods2modifications LDAP_P(( LDAPMod
LDAP_SLAPI_F (int) slapi_int_count_controls LDAP_P(( LDAPControl **ctrls ));
LDAP_SLAPI_F (char **) slapi_get_supported_extended_ops LDAP_P((void));
LDAP_SLAPI_F (int) slapi_int_access_allowed LDAP_P((Operation *op, Entry *entry, AttributeDescription *desc, struct berval *val, slap_access_t access, AccessControlState *state ));
LDAP_SLAPI_F (Slapi_Backend *) slapi_x_be_select LDAP_P((const char *dn));
/* slapi_ops.c */
LDAP_SLAPI_F (int) slapi_int_response LDAP_P(( Slapi_Operation *op, SlapReply *rs ));

View File

@ -3479,24 +3479,6 @@ const char *slapi_x_be_get_updatedn( Slapi_Backend *be )
return be->be_update_ndn.bv_val;
}
Slapi_Backend *slapi_x_be_select(const char *dn)
{
struct berval bdn;
struct berval ndn;
Slapi_Backend *be;
bdn.bv_val = (char *)dn;
bdn.bv_len = (dn != NULL) ? strlen(dn) : 0;
if ( dnNormalize( 0, NULL, NULL, &bdn, &ndn, NULL ) != LDAP_SUCCESS )
return NULL;
be = select_backend( &ndn, 0, 0 );
slapi_ch_free_string( &ndn.bv_val );
return be;
}
Slapi_Backend *slapi_be_select( const Slapi_DN *sdn )
{
Slapi_Backend *be;