Generic hashtable implementation in C that uses APR (Apache Portable Runtime) libraries