Syntax
#include "slapi-plugin.h" Slapi_Filter *slapi_str2filter( char *str ); Parameters
#include "slapi-plugin.h" Slapi_Filter *slapi_str2filter( char *str );
The function has the following parameters:
str
Returns
Pointer to the Slapi_Filter structure representing the search filter, or NULL if the string cannot be converted (for example, if an empty string is specified or if the filter syntax is incorrect). When you are done working with this filter, you should free the Slapi_Filter structure by calling slapi_filter_free().