Well, we found the code for the GRASS-MAPGEN interface. It lives under src.related/mapgen/SCS.
Michael