Find a right parenthesis matching a left parenthesis.
#include "slapi-plugin.h" char *slapi_find_matching_paren( const char *str );
This function takes the following parameters:
Pointer to a string starting with a left parenthesis
This function returns a pointer to the right parenthesis if successful. Otherwise, it returns NULL indicating that no matching right parenthesis was found.
This function takes a pointer to a string starting with a left parenthesis, (, and returns a pointer to the matching right parenthesis, ). It may be useful when evaluating complex search filter strings.