1, use unsigned long as ptype for hash function
2, add work/engine work/engine work init/finit function