C bindings: add a bunch of the newer options

This commit adds a bunch (not all) of the newer configuration knobs & dials to the C API.