#ifndef LIGHTNING_LIGHTNINGD_HSM_CONTROL_H #define LIGHTNING_LIGHTNINGD_HSM_CONTROL_H #include "config.h" #include #include #include #include struct lightningd; struct node_id; /* Ask HSM for a new fd for a subdaemon to use. */ int hsm_get_client_fd(struct lightningd *ld, const struct node_id *id, u64 dbid, int capabilities); /* Ask HSM for an fd for a global subdaemon to use (gossipd, connectd) */ int hsm_get_global_fd(struct lightningd *ld, int capabilities); void hsm_init(struct lightningd *ld); #endif /* LIGHTNING_LIGHTNINGD_HSM_CONTROL_H */