Needed extern c on fn definition.  Calling fileCapture from revelation produces a working producer