37.29. slapi_rdn2typeval()

Converts the second RDN type value to the berval value.
Syntax

#include "slapi-plugin.h"
int slapi_rdn2typeval( char *rdn, char **type, struct berval *bv );

Parameters

This function takes the following parameters:

rdn
Second RDN value
type
Pointer to the attribute type of the second RDN.
bv
Pointer to the berval value structure.
Returns

This function returns the new RDN value as a berval value in bv. This function can be used for creating the RDN as an attribute value since it returns the value of the RDN in the berval structure.

See Also

moddn_rdn_add_needed()