libhsmd: First working build script for libhsmd-python

Changelog-Added: libhsmd: Added python bindings for `libhsmd`
This commit is contained in:
Christian Decker
2021-04-23 15:26:15 +02:00
committed by Rusty Russell
parent 214fdcc9d7
commit 7f15f86718
10 changed files with 5324 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
#ifndef LIGHTNING_CONTRIB_LIBHSMD_PYTHON_LIBHSMD_PYTHON_H
#define LIGHTNING_CONTRIB_LIBHSMD_PYTHON_LIBHSMD_PYTHON_H
#include <hsmd/libhsmd.h>
char *handle(long long cap, long long dbid, char *peer_id, char *msg);
char *init(char *hex_hsm_secret, char *network_name);
#endif /* LIGHTNING_CONTRIB_LIBHSMD_PYTHON_LIBHSMD_PYTHON_H */