projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Makefile.am: Added missing backslash before newline.
[collectd.git]
/
src
/
utils_match.h
diff --git
a/src/utils_match.h
b/src/utils_match.h
index
da9f1bc
..
a32a6fe
100644
(file)
--- a/
src/utils_match.h
+++ b/
src/utils_match.h
@@
-74,7
+74,8
@@
typedef struct cu_match_value_s cu_match_value_t;
* callback.
*/
cu_match_t *match_create_callback (const char *regex,
* 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);
/*
void *user_data);
/*
@@
-132,7
+133,7
@@
int match_apply (cu_match_t *obj, const char *str);
*
* DESCRIPTION
* Returns the pointer passed to `match_create_callback' or a pointer to the
*
* 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);
*/
void *match_get_user_data (cu_match_t *obj);