mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
46cbca97ea
use 'enum ' in wirespec instead of 'e:' as an indicator that a field is an enum.
24 lines
669 B
Plaintext
24 lines
669 B
Plaintext
#include <common/per_peer_state.h>
|
|
#include <common/status_wire.h>
|
|
|
|
msgtype,status_log,0xFFF0
|
|
msgdata,status_log,level,enum log_level,
|
|
msgdata,status_log,entry,wirestring,
|
|
|
|
msgtype,status_io,0xFFF1
|
|
msgdata,status_io,iodir,enum log_level,
|
|
msgdata,status_io,who,wirestring,
|
|
msgdata,status_io,len,u16,
|
|
msgdata,status_io,data,u8,len
|
|
|
|
msgtype,status_fail,0xFFF2
|
|
msgdata,status_fail,failreason,enum status_failreason,
|
|
msgdata,status_fail,desc,wirestring,
|
|
|
|
msgtype,status_peer_connection_lost,0xFFF3
|
|
|
|
msgtype,status_peer_billboard,0xFFF5
|
|
msgdata,status_peer_billboard,perm,bool,
|
|
msgdata,status_peer_billboard,happenings,wirestring,
|
|
# Note: 0xFFFF is reserved for MSG_PASS_FD!
|