[diff] add diff_options interchange functions