strhash_insert
if ((err = strhash_insert(evtr->fmts, buf, &id))) {
if ((err = strhash_insert(evtr->strings[ns], str, &id))) {