C bindings: add a bunch of the newer options