23.4. slapi_ch_bvecdup()
Makes a copy of an array of existing berval structures.
#include "slapi-plugin.h" extern struct berval** slapi_ch_bvecdup (const struct berval **v);
This function takes the following parameter:
|
v
| Pointer to the array of berval structures that you want to copy. |
This function returns a pointer to an array of the new copy of the berval structures. If the structures cannot be duplicated, e.g., because of insufficient virtual memory, the slapd program terminates.
The contents of the v parameter are not altered by this function. The returned berval structure should be freed by calling ber_bvfree(), which is an LDAP API function; see the Mozilla LDAP SDK for C Programmer's Guide.

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.