[sr-dev] git:master: Expose terminate_dlg through C API