Add documentation for C interface

First shot...