Allocates memory for a new entry of the data type Slapi_Entry .
#include "slapi-plugin.h" Slapi_Entry *slapi_entry_alloc();
Returns a pointer to the newly allocated entry of the data type Slapi_Entry. If space cannot be allocated (for example, if no more virtual memory exists), the slapd program terminates.
This function returns an empty Slapi_Entry structure.
When you are no longer using the entry, you should free it from memory by calling the slapi_entry_free() function.