24.8. slapi_entry_alloc()
This function returns an empty Slapi_Entry structure. You can call other frontend functions to set the DN and attributes of this entry.
#include "slapi-plugin.h" Slapi_Entry *slapi_entry_alloc();
This function returns a pointer to the newly allocated entry of the data type Slapi_Entry. If space cannot be allocated, e.g., no more virtual memory exists, the slapd program terminates.
When you no longer use 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.