Start documenting C APIs.
Merge pull request #2416 from take-cheeze/c_api_ref

Start documenting C APIs.