mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
789b330338
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>
18 lines
474 B
C
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 */
|