proto: Added handling for nested packets

This commit is contained in:
Christian Decker
2016-12-12 14:55:15 +01:00
committed by Rusty Russell
parent 1c4d4f8c91
commit db481d881a
4 changed files with 56 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ void queue_pkt_revocation(struct peer *peer,
const struct sha256 *next_hash);
void queue_pkt_close_shutdown(struct peer *peer);
void queue_pkt_close_signature(struct peer *peer);
void queue_pkt_nested(struct peer *peer, int type, const u8 *nested_pkt);
Pkt *pkt_err(struct peer *peer, const char *msg, ...);
Pkt *pkt_init(struct peer *peer, u64 ack);