Send data back to c code.