mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
dc8458d1e2
It's (usually) a .csv not an _csv file. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
27 lines
764 B
Plaintext
27 lines
764 B
Plaintext
/* This file was generated by generate-wire.py */
|
|
/* 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
|
|
|
|
% if options.expose_subtypes:
|
|
% for subtype in subtypes:
|
|
void printwire_${subtype.name}(const char *fieldname, const u8 **cursor, size_t *plen);
|
|
% endfor
|
|
% endif
|
|
#endif /* LIGHTNING_${idem} */
|