Splitted libhak.h into essential parts on libhak/*.h