+#include <xbt/dict.h>
+#include <xbt/dynar.h>
+#include <xbt/misc.h>
+
+#include <stdarg.h> /* va_* */
+
+SG_BEGIN_DECL
+
+/** @addtogroup XBT_str
+ * @brief String manipulation functions
+ *
+ * This module defines several string related functions. Looking at the diversity of string manipulation functions that
+ * are provided, you can see that several SimGrid core developers actually like Perl.
+ * @{
+ */
+
+XBT_PUBLIC long int xbt_str_parse_int(const char* str, const char* error_mesg);
+XBT_PUBLIC double xbt_str_parse_double(const char* str, const char* error_mesg);
+
+#define XBT_DJB2_HASH_FUNCTION
+//#define XBT_FNV_HASH_FUNCTION
+
+/**
+ * @brief Returns the hash code of a string.
+ */
+static inline unsigned int xbt_str_hash_ext(const char* str, int str_len)
+{
+#ifdef XBT_DJB2_HASH_FUNCTION
+ /* fast implementation of djb2 algorithm */
+ unsigned int hash = 5381;