37.25. slapi_rdn_remove_index()
This function removes an RDN type/value pair from a Slapi_RDN structure with atindex index (placed in the atindex+1 position).
#include "slapi-plugin.h" int slapi_rdn_remove_index(Slapi_RDN *rdn, int atindex);
This function takes the following parameters:
|
rdn
| The target Slapi_RDN structure. |
|
atindex
| The index of the RDN type/value pair to remove. |
This function returns one of the following values:
- 1 if the RDN is removed from rdn.
- 0 if no RDN is removed because either rdn is empty or the index goes beyond the number of RDNs present.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.