Added a bunch of entry points.
Added some stubs and header information.
Fixed some return codes.

6 files changed