Removes an RDN type/value pair from a Slapi_RDN structure.
#include "slapi-plugin.h" int slapi_rdn_remove_attr(Slapi_RDN *rdn, const char *type);
This function takes the following parameters:
The target Slapi_RDN structure.
Type (cn, o, ou, etc.) of the RDN searched.
This function returns 1 of the RDN is removed from rdn, or 0 if no RDN is removed.
This function removes the first RDN from rdn that matches the given type.