summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
authorHarshavardhana <harsha@zresearch.com>2009-02-19 10:26:17 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-21 21:07:31 +0530
commit9679f8db65de29a40f622c12c2cc538d70b052b2 (patch)
tree5d77cf2519d347528cad765064d1a476e44426b8 /libglusterfs/src/dict.h
parente9ac5f587763b48acc19268ce57e6bfd886a0561 (diff)
new functions dict_{get,set}_double for float/double value
fixed warning Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/dict.h')
-rw-r--r--libglusterfs/src/dict.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h
index 5c299d039..896daee08 100644
--- a/libglusterfs/src/dict.h
+++ b/libglusterfs/src/dict.h
@@ -163,6 +163,9 @@ GF_MUST_CHECK int dict_set_uint32 (dict_t *this, char *key, uint32_t val);
GF_MUST_CHECK int dict_get_uint64 (dict_t *this, char *key, uint64_t *val);
GF_MUST_CHECK int dict_set_uint64 (dict_t *this, char *key, uint64_t val);
+GF_MUST_CHECK int dict_get_double (dict_t *this, char *key, double *val);
+GF_MUST_CHECK int dict_set_double (dict_t *this, char *key, double val);
+
GF_MUST_CHECK int dict_set_static_ptr (dict_t *this, char *key, void *ptr);
GF_MUST_CHECK int dict_get_ptr (dict_t *this, char *key, void **ptr);
GF_MUST_CHECK int dict_set_ptr (dict_t *this, char *key, void *ptr);