Issue#27: C interface implementation

following issue #27 
Please put implementation in a cc file e.g. `csnowcrash.cc` (see here <http://stackoverflow.com/a/2744206/634940>)