Add the client side C code