[update] C-API for config get
[change] config(format) => configSet(format) and new method configGet()