Removes an RDN type/value pair from a Slapi_RDN structure.
#include "slapi-plugin.h" int slapi_rdn_remove(Slapi_RDN *rdn, const char *type, const char *value, size_t length);
This function takes the following parameters:
The target Slapi_RDN structure.
Type (cn, o, ou, etc.) of the RDN searched.
The value of the RDN searched.
Gives the length of value that should be taken into account for the string comparisons when searching for the RDN.
This function returns 1 if the RND is removed from rdn, or 0 if no RDN is removed.
This function removes the RDN from rdn that matches the given criteria (type, value and length).