Files
palladum-lightning/common/ecdh_hsmd.h
Rusty Russell f6a4e79420 global: remove unnecessary includes from headers.
Each header should only include the other headers it needs to compile;
`devtools/reduce-includes.sh */*.h` does this.  The C files then need
additional includes if they don't compile.

And remove the entirely useless wire/onion_wire.h, which only serves to include wire/onion_wiregen.h.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-10-23 06:44:04 +10:30

13 lines
380 B
C

#ifndef LIGHTNING_COMMON_ECDH_HSMD_H
#define LIGHTNING_COMMON_ECDH_HSMD_H
#include "config.h"
#include <common/status_levels.h>
/* The via-the-hsmd implementation of ecdh(). */
/* You must call this before calling ecdh(). */
void ecdh_hsmd_setup(int hsm_fd,
void (*failed)(enum status_failreason,
const char *fmt, ...));
#endif /* LIGHTNING_COMMON_ECDH_HSMD_H */