util/hash_table: Pull the details of the FNV-1a into helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Jan 2015 06:31:23 +0000 (22:31 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:20:23 +0000 (07:20 -0800)
commita3b73ccf6db3efe4ce0eed4c60d1e2709b335cac
treecda3e43886f11fb94f323aad11108dc2c8680b06
parente4115ca9d824a27176c58fdeede392d4d99b0cab
util/hash_table: Pull the details of the FNV-1a into helpers

This way the basics of the FNV-1a hash can be reused to easily create other
hashing functions.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/hash_table.c
src/util/hash_table.h