2018-01-08 10:01:09 +00:00
|
|
|
#ifndef LIGHTNING_COMMON_SUBDAEMON_H
|
|
|
|
#define LIGHTNING_COMMON_SUBDAEMON_H
|
|
|
|
#include "config.h"
|
2018-03-29 03:06:45 +01:00
|
|
|
#include <common/daemon.h>
|
2019-09-06 05:40:05 +01:00
|
|
|
struct htable;
|
2018-01-08 10:01:09 +00:00
|
|
|
|
2018-03-29 03:06:45 +01:00
|
|
|
/* daemon_setup, but for subdaemons */
|
2018-01-08 10:01:09 +00:00
|
|
|
void subdaemon_setup(int argc, char *argv[]);
|
|
|
|
|
2019-09-06 05:40:05 +01:00
|
|
|
/* Only defined if DEVELOPER */
|
2018-11-21 21:46:37 +00:00
|
|
|
bool dump_memleak(struct htable *memtable);
|
|
|
|
|
2018-01-08 10:01:09 +00:00
|
|
|
#endif /* LIGHTNING_COMMON_SUBDAEMON_H */
|