core-lightning/lightningd/closing_control.h
Rusty Russell 789b330338 lightningd/closing_control.c: move json_close here from peer_control.c
They share some code, but not much: command_find_channel is made
non-static.  Rest is move-only.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-15 18:23:30 +02:00

18 lines
474 B
C

#ifndef LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
#define LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H
#include "config.h"
#include <ccan/short_types/short_types.h>
#include <stdbool.h>
struct channel;
struct lightningd;
struct per_peer_state;
void resolve_close_command(struct lightningd *ld, struct channel *channel,
bool cooperative);
void peer_start_closingd(struct channel *channel,
struct per_peer_state *pps);
#endif /* LIGHTNING_LIGHTNINGD_CLOSING_CONTROL_H */