* callback.
*/
cu_match_t *match_create_callback (const char *regex,
- int (*callback) (const char *str, void *user_data),
+ int (*callback) (const char *str,
+ char * const *matches, size_t matches_num, void *user_data),
void *user_data);
/*
*
* DESCRIPTION
* Returns the pointer passed to `match_create_callback' or a pointer to the
- * `cu_match_value_t' structure allocated by `match_create_callback'.
+ * `cu_match_value_t' structure allocated by `match_create_simple'.
*/
void *match_get_user_data (cu_match_t *obj);