2018-02-20 21:59:09 +01:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
2021-09-15 02:59:23 +02:00
|
|
|
#include <stdbool.h>
|
2018-02-20 21:59:09 +01:00
|
|
|
|
2021-06-14 23:09:49 +02:00
|
|
|
struct channel;
|
2021-09-15 02:59:23 +02:00
|
|
|
struct lightningd;
|
2019-06-03 20:11:25 +02:00
|
|
|
struct per_peer_state;
|
2018-02-20 21:59:09 +01:00
|
|
|
|
2021-09-15 02:59:23 +02:00
|
|
|
void resolve_close_command(struct lightningd *ld, struct channel *channel,
|
|
|
|
bool cooperative);
|
|
|
|
|
2018-02-20 21:59:09 +01:00
|
|
|
void peer_start_closingd(struct channel *channel,
|
2021-06-14 23:09:49 +02:00
|
|
|
struct per_peer_state *pps);
|
2018-02-20 21:59:09 +01:00
|
|
|
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H */
|