2019-07-24 01:54:21 +02:00
|
|
|
/* This file was generated by generate-wire.py */
|
2020-08-25 04:19:58 +02:00
|
|
|
/* Do not modify this file! Modify the .csv file it was generated from. */
|
2019-07-15 02:10:01 +02:00
|
|
|
/* 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
|
|
|
|
|
2022-03-23 00:31:14 +01:00
|
|
|
bool print${options.enum_name}_message(const u8 *msg);
|
2019-07-15 02:10:01 +02:00
|
|
|
|
2022-03-23 00:31:14 +01:00
|
|
|
bool print${options.enum_name}_tlv_message(const char *tlv_name, const u8 *msg);
|
2019-07-15 02:10:01 +02:00
|
|
|
|
|
|
|
% for msg in messages:
|
2022-03-23 00:31:14 +01:00
|
|
|
bool printwire_${msg.name}(const char *fieldname, const u8 *cursor);
|
2019-07-15 02:10:01 +02:00
|
|
|
|
|
|
|
% endfor
|
2019-07-27 12:19:25 +02:00
|
|
|
|
|
|
|
% if options.expose_subtypes:
|
|
|
|
% for subtype in subtypes:
|
2022-03-23 00:31:14 +01:00
|
|
|
bool printwire_${subtype.name}(const char *fieldname, const u8 **cursor, size_t *plen);
|
2019-07-27 12:19:25 +02:00
|
|
|
% endfor
|
|
|
|
% endif
|
2019-07-15 02:10:01 +02:00
|
|
|
#endif /* LIGHTNING_${idem} */
|