2018-02-20 21:59:04 +01:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/short_types/short_types.h>
|
2019-12-03 15:48:18 +01:00
|
|
|
#include <lightningd/peer_control.h>
|
2018-02-20 21:59:04 +01:00
|
|
|
|
|
|
|
struct channel_id;
|
|
|
|
struct crypto_state;
|
2018-10-19 03:17:49 +02:00
|
|
|
struct json_stream;
|
2018-02-20 21:59:04 +01:00
|
|
|
struct lightningd;
|
2022-01-11 02:13:59 +01:00
|
|
|
struct peer_fd;
|
2018-02-20 21:59:04 +01:00
|
|
|
struct uncommitted_channel;
|
|
|
|
|
2024-06-19 02:36:35 +02:00
|
|
|
void NON_NULL_ARGS(2, 4) json_add_uncommitted_channel(struct command *cmd,
|
|
|
|
struct json_stream *response,
|
2024-03-25 01:37:52 +01:00
|
|
|
const struct uncommitted_channel *uc,
|
|
|
|
const struct peer *peer);
|
2018-02-20 21:59:04 +01:00
|
|
|
|
2022-03-22 21:27:29 +01:00
|
|
|
bool peer_start_openingd(struct peer *peer,
|
2022-01-11 02:13:59 +01:00
|
|
|
struct peer_fd *peer_fd);
|
2018-02-20 21:59:04 +01:00
|
|
|
|
2019-12-03 15:48:18 +01:00
|
|
|
struct subd *peer_get_owning_subd(struct peer *peer);
|
|
|
|
|
2018-02-20 21:59:04 +01:00
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H */
|