mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
9f006fdf03
Switch on name of subd(aemon) as to whether to call dualopend or openingd for memleak results
24 lines
639 B
C
24 lines
639 B
C
#ifndef LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <lightningd/peer_control.h>
|
|
|
|
struct channel_id;
|
|
struct crypto_state;
|
|
struct json_stream;
|
|
struct lightningd;
|
|
struct per_peer_state;
|
|
struct uncommitted_channel;
|
|
|
|
void json_add_uncommitted_channel(struct json_stream *response,
|
|
const struct uncommitted_channel *uc);
|
|
|
|
void peer_start_openingd(struct peer *peer,
|
|
struct per_peer_state *pps,
|
|
const u8 *msg);
|
|
|
|
struct subd *peer_get_owning_subd(struct peer *peer);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H */
|