summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-11-06 10:37:06 +0530
committerVijay Bellur <vbellur@redhat.com>2014-11-11 03:33:41 -0800
commitffa4263c2f8fcb95ed5553a5a114bc26a920ad27 (patch)
treefc07cd3bb16416e5e2cb0736d0ff5ab12ba4bf47 /libglusterfs/src/dict.h
parent98f82412986339626bcd1218ff1da0fbb2664d6d (diff)
features/marker: Filter internal xattrs in lookup
Afr should ignore quota-size-key as part of self-heal but should heal quota-limit key. Change-Id: Ic0b06bd20a563a00d6bfdc2dc5a76c661e533ecb BUG: 1161106 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/9061 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
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 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,