Add C bindings for custom Sources and Sinks