Either with sliders, or by allowing curves adjustments to be made horizontally.
Darkroom already has blank and white point editing in the adjustments sliders tool.