summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-02-06 17:06:28 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-02-24 21:57:53 -0800
commit5d59402af8397da1a8eb5f822e1e650ce3285833 (patch)
tree76dcf4f8b6e8e8bb80e74e05d4c9abb84f41502c /libglusterfs/src/dict.h
parent729428aae82e8b878227bb71e65b629783e17ffb (diff)
features/index: Add option to track specific xattrs for xattrop64
This enables trusted.ec.dirty to be tracked in index Change-Id: Ief1619110859f6f9ccee3da229f0688b73e2124b BUG: 1177601 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/9602 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/dict.h')
-rw-r--r--libglusterfs/src/dict.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h
index 66a900131d1..a4c1815d06a 100644
--- a/libglusterfs/src/dict.h
+++ b/libglusterfs/src/dict.h
@@ -95,6 +95,8 @@ struct _dict {
gf_boolean_t free_pair_in_use;
};
+typedef gf_boolean_t (*dict_match_t) (dict_t *d, char *k, data_t *v,
+ void *data);
int32_t is_data_equal (data_t *one, data_t *two);
void data_destroy (data_t *data);
@@ -255,4 +257,6 @@ dict_dump_to_log (dict_t *dict);
int
dict_dump_to_str (dict_t *dict, char *dump, int dumpsize, char *format);
+gf_boolean_t
+dict_match_everything (dict_t *d, char *k, data_t *v, void *data);
#endif