diff options
Diffstat (limited to 'libglusterfs/src/dict.h')
-rw-r--r-- | libglusterfs/src/dict.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h index 148eb0ef7ea..66a900131d1 100644 --- a/libglusterfs/src/dict.h +++ b/libglusterfs/src/dict.h @@ -177,6 +177,19 @@ int dict_foreach_fnmatch (dict_t *dict, char *pattern, void *data), void *data); +int +dict_foreach_match (dict_t *dict, + gf_boolean_t (*match)(dict_t *this, + char *key, + data_t *value, + void *mdata), + void *match_data, + int (*action)(dict_t *this, + char *key, + data_t *value, + void *adata), + void *action_data); + int dict_null_foreach_fn (dict_t *d, char *k, data_t *v, void *tmp); int dict_remove_foreach_fn (dict_t *d, char *k, |