Issue#27: C interface implementation

following issue #27 
Please use C-string (`char *`) instead of `std::string`. Do not include `<std::string>` here.