46.2. slapi_compute_add_search_rewriter()
The slapi_compute_add_search_rewriter() function registers callback functions for filter searching and rewriting.
#include "slapi-plugin.h" int slapi_compute_add_search_rewriter (slapi_search_rewrite_callback_t function);
This function takes the following parameter:
|
function
| Function registered by the plug-in to rewrite the search filters. |
This function returns one of the following values:
- -1 if no attribute matched the requested type
- 0 if one matched and it was processed without error
- >0 if an error happened

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.