core-lightning/common/subdaemon.h
Rusty Russell 2debbb0a00 common/subdaemon: helpers for dumping memleaks in subdaemons.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-11-22 05:15:42 +00:00

16 lines
332 B
C

#ifndef LIGHTNING_COMMON_SUBDAEMON_H
#define LIGHTNING_COMMON_SUBDAEMON_H
#include "config.h"
#include <common/daemon.h>
/* daemon_setup, but for subdaemons */
void subdaemon_setup(int argc, char *argv[]);
#if DEVELOPER
struct htable;
bool dump_memleak(struct htable *memtable);
#endif
#endif /* LIGHTNING_COMMON_SUBDAEMON_H */