14.8. plugin_search_entry_callback
This typedef uses the following syntax:
#include "slapi-plugin.h" typedef int (*plugin_search_entry_callback)(Slapi_Entry *e, void *callback_data);
This typedef takes the following parameters:
Table 14.11. plugin_search_entry_callback Parameters
| e | Pointer to the Slapi_Entry structure representing an entry found by the search. |
| callback_data | This value matches the callback_data pointer that was passed to the original internal operation function. |
The following table lists this function's possible return values.
Table 14.12. plugin_search_entry_callback Return Values
| Return Value | Description |
|---|---|
| 0 | Success |
| -1 | An error occurred. |
A function that matches this typedef can be passed as the psec parameter of slapi_search_internal_callback_pb() or as the srch_callback parameter of slapi_seq_internal_callback_pb().

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.