core-lightning/common/setup.h
niftynei fbe50e087a setup: create a common setup which will handle the wally-context
Since we now over-write the wally malloc/free functions, we need to do
so for tests as well. Here we pull up all of the common setup/teardown
logic into a separate place, and update the tests that use libwally to
use the new common_setup core

Changelog-None
2020-05-19 13:35:42 +09:30

8 lines
191 B
C

#ifndef LIGHTNING_COMMON_SETUP_H
#define LIGHTNING_COMMON_SETUP_H
#include "config.h"
void common_setup(const char *argv0);
void common_shutdown(void);
#endif /* LIGHTNING_COMMON_SETUP_H */