26.17. slapi_find_matching_paren()

Finds the matching right parentheses in a string, corresponding to the left parenthesis to which the string currently points.
Syntax

#include "slapi-plugin.h"
char *slapi_find_matching_paren( const char *str )

Parameters

This function takes the following parameter:

str
String containing the parentheses.
Returns

This function returns a pointer to the matching right parenthesis in the specified string.