Python script to generate C code for RPC marshalling with libevent.