diff options
author | Harshavardhana <harsha@zresearch.com> | 2009-02-19 10:26:17 -0800 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-02-21 21:07:31 +0530 |
commit | 9679f8db65de29a40f622c12c2cc538d70b052b2 (patch) | |
tree | 5d77cf2519d347528cad765064d1a476e44426b8 /libglusterfs/src/dict.h | |
parent | e9ac5f587763b48acc19268ce57e6bfd886a0561 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/dict.h b/libglusterfs/src/dict.h index 5c299d039e6..896daee08ed 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); |