write('/* Only autoreply is supported (vl_api_{n}_t_hander()) */\n'
.format(n=s.reply))
continue
+ write('#ifndef VL_API_{n}_T_HANLDER\n'.format(n=s.reply.upper()))
write('static void\n')
write('vl_api_{n}_t_handler (vl_api_{n}_t * mp) {{\n'.format(n=s.reply))
write(' vat_main_t * vam = {}_test_main.vat_main;\n'.format(module))
write(' vam->result_ready = 1;\n')
write(' }\n')
write('}\n')
+ write('#endif\n')
for e in s.events:
if define_hash[e].manual_print: