From 9679f8db65de29a40f622c12c2cc538d70b052b2 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 19 Feb 2009 10:26:17 -0800 Subject: new functions dict_{get,set}_double for float/double value fixed warning Signed-off-by: Anand V. Avati --- libglusterfs/src/dict.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs/src/dict.h') 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); -- cgit