2017-01-04 13:22:29 +10:30
|
|
|
#ifndef LIGHTNING_DAEMON_OPTIONS_H
|
|
|
|
#define LIGHTNING_DAEMON_OPTIONS_H
|
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
|
|
|
|
struct lightningd_state;
|
|
|
|
|
2017-02-24 16:22:56 +10:30
|
|
|
/* You can register additional options *after* this if you want. */
|
|
|
|
void register_opts(struct lightningd_state *dstate);
|
|
|
|
|
2017-01-04 14:09:20 +10:30
|
|
|
/* After this, we're in the .lightning dir, config file parsed.
|
2017-01-04 14:03:15 +10:30
|
|
|
* If we just created the dir, returns true.
|
|
|
|
*/
|
|
|
|
bool handle_opts(struct lightningd_state *dstate, int argc, char *argv[]);
|
2017-01-04 13:22:29 +10:30
|
|
|
|
|
|
|
#endif /* LIGHTNING_DAEMON_OPTIONS_H */
|