import hash.c,h from libeserv