mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
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>
12 lines
375 B
C
12 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 */
|