add a few C API
use iota