mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
2ff50107ac
Now we're always sync, just use an fd. Put the hsm_sync_read() helper here, too, and do HSM init sync which makes things much simpler. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
375 B
C
13 lines
375 B
C
#ifndef LIGHTNING_LIGHTNINGD_HSM_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_HSM_CONTROL_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <ccan/tal/tal.h>
|
|
#include <stdbool.h>
|
|
|
|
struct lightningd;
|
|
|
|
u8 *hsm_sync_read(const tal_t *ctx, struct lightningd *ld);
|
|
void hsm_init(struct lightningd *ld, bool newdir);
|
|
#endif /* LIGHTNING_LIGHTNINGD_HSM_CONTROL_H */
|