Issue#27: C interface implementation

following issue #27
`cs` -> `sc`

Please pay more attention to it.