api: memclnt api use string type.