X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/68f9a22d51b8053a0f7f40c5a2531f6faca520fc..0ffe21abd220652547671c0de3cae515fb5fc6e2:/include/xbt/str.h diff --git a/include/xbt/str.h b/include/xbt/str.h index a7a17e7cf7..ea8dcc309d 100644 --- a/include/xbt/str.h +++ b/include/xbt/str.h @@ -49,6 +49,10 @@ XBT_PUBLIC(char *) xbt_str_diff(const char *a, const char *b); XBT_PUBLIC(char *) xbt_str_from_file(FILE * file); +XBT_INLINE XBT_PUBLIC(unsigned int) xbt_dict_hash_ext(const char *str, + int str_len); +XBT_INLINE XBT_PUBLIC(unsigned int) xbt_dict_hash(const char *str); + /** @brief Classical alias to (char*) * * This of almost no use, beside cosmetics and the XBT datadesc parsing macro (see \ref XBT_dd_auto).