Issue#27: C interface implementation

following issue #27
I know its a dull work but please try to be consistent ` , ` (en extra space before `,`)