core-lightning/lightningd/closing_control.h
Rusty Russell eaac0d7105 lightningd: group crypto_state and fds into a convenient structure.
These are always handed to subdaemons as a set, so group them.  This makes
it easier to add an fd (in the next patch).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-05-13 05:16:18 +00:00

16 lines
409 B
C

#ifndef LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
#define LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
#include "config.h"
#include <ccan/short_types/short_types.h>
struct channel_id;
struct crypto_state;
struct peer_comms;
void peer_start_closingd(struct channel *channel,
struct peer_comms *pcomms,
bool reconnected,
const u8 *channel_reestablish);
#endif /* LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H */