Fix api name functions for C, replace map with array.