Create _swfunc.h

Functions taken from swstab.cpp.  They can also be found in the original swcap.cpp and swave.cpp.