summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/dict.h')
-rw-r--r--libglusterfs/src/dict.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h
index a92fd2cb61a..5f9e66e51f7 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,