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