core-lightning/daemon/options.h
Rusty Russell 038ef0250a options: move option and config code into its own file.
For the moment, the new lightningd will share all this anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-04 13:22:29 +10:30

12 lines
326 B
C

#ifndef LIGHTNING_DAEMON_OPTIONS_H
#define LIGHTNING_DAEMON_OPTIONS_H
#include "config.h"
#include <ccan/tal/tal.h>
struct lightningd_state;
/* After this, we're in the .lightning dir, config file parsed. */
void handle_opts(struct lightningd_state *dstate, int argc, char *argv[]);
#endif /* LIGHTNING_DAEMON_OPTIONS_H */