#ifndef XBT_STR_H
#define XBT_STR_H
-#include <stdarg.h> /* va_* */
-#include <stdio.h> /* FILE */
#include "xbt/misc.h"
#include "xbt/dynar.h"
#include "xbt/dict.h"
+#include <stdarg.h> /* va_* */
+#include <stdio.h> /* FILE */
+
+#ifdef _MSC_VER
+#define strcasecmp _stricmp
+#endif
+
SG_BEGIN_DECL()
/** @addtogroup XBT_str
XBT_PUBLIC(int) xbt_str_start_with(const char* str, const char* start);
+XBT_PUBLIC(long int) xbt_str_parse_int(const char* str, const char* error_msg);
+XBT_PUBLIC(double) xbt_str_parse_double(const char* str, const char* error_msg);
+
#define DJB2_HASH_FUNCTION
//#define FNV_HASH_FUNCTION