Moving documentation in .c files from header files.

This is documentation the programmer has to see the moment he looks up
the function name, and currently most (all?) editors take you to the
implementation, not the declaration.
Almost compiles.