2019-07-24 01:54:21 +02:00
|
|
|
/* This file was generated by generate-wire.py */
|
2019-07-15 02:10:01 +02:00
|
|
|
/* Do not modify this file! Modify the _csv file it was generated from. */
|
|
|
|
/* Template located at tools/gen/print_header_template */
|
|
|
|
#ifndef LIGHTNING_${idem}
|
|
|
|
#define LIGHTNING_${idem}
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
#include <devtools/print_wire.h>
|
|
|
|
% for i in includes:
|
|
|
|
${i}
|
|
|
|
% endfor
|
|
|
|
|
|
|
|
void print${options.enum_name}_message(const u8 *msg);
|
|
|
|
|
|
|
|
void print${options.enum_name}_tlv_message(const char *tlv_name, const u8 *msg);
|
|
|
|
|
|
|
|
% for msg in messages:
|
|
|
|
void printwire_${msg.name}(const char *fieldname, const u8 *cursor);
|
|
|
|
|
|
|
|
% endfor
|
|
|
|
#endif /* LIGHTNING_${idem} */
|