/* Returns: a hash value corresponding to the key  */
guint g_str_hash(gconstpointer v)
/* Returns: a hash value corresponding to the key  */
guint g_str_hash(gconstpointer v)
{
  const signed char *p;
  guint32 h = 5381;
  for (p = v; *p != '\0'; p++)
    h = (h << 5) + h + *p;
  return h;
}