24.29. slapi_entry_dup()
This function returns a copy of an existing Section 14.22, “Slapi_Entry” structure. You can call other frontend functions to change the DN and attributes of this entry.
#include "slapi-plugin.h" Slapi_Entry *slapi_entry_dup( const Slapi_Entry *e );
This function takes the following parameter:
|
e
| Entry that you want to copy. |
This function returns the new copy of the entry. If the structure cannot be duplicated, for example, if no more virtual memory exists, the slapd program terminates.
When you are no longer using the entry, free it from memory by calling the slapi_entry_free() function.

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.