Add C api doc for proton