Syntax
#include "slapi-plugin.h"
extern struct berval* slapi_ch_bvdup( const struct berval *v );
Parameters
This function takes the following parameter:
v
Returns
This function returns a pointer to the new copy of the
structure cannot be duplicated, e.g., because of insufficient virtual memory, the
slapd
Memory Concerns
The contents of the
berval
function; see the Netscape LDAP SDK for C Programmer's Guide.
See Also
slapi_ch_bvdup()
ber_bvfree()
slapi_ch_bvecdup()
Makes a copy of an array of existing
Syntax
#include "slapi-plugin.h"
extern struct berval** slapi_ch_bvecdup (const struct berval **v);
Parameters
This function takes the following parameter:
v
Pointer to the berval structure that you want to copy.
program terminates.
parameter are not altered by this function. The returned
v
structure should be freed by calling
Pointer to the array of berval structures that you want to copy.
berval
ber_bvfree()
structures.
berval
Chapter 15
Functions for Managing Memory
structure. If the
, which is an LDAP API
Function Reference
303
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers