add a c version of the current uci_valisate call to the cli