2017-08-29 01:36:01 +09:30
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_OPTIONS_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_OPTIONS_H
|
2017-01-04 13:22:29 +10:30
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
2019-11-23 12:16:58 +10:30
|
|
|
#include <common/configdir.h>
|
2017-01-04 13:22:29 +10:30
|
|
|
|
2017-08-29 01:39:01 +09:30
|
|
|
struct lightningd;
|
2017-01-04 13:22:29 +10:30
|
|
|
|
2019-07-25 16:07:58 +09:30
|
|
|
/* After this, early config file and cmdline options parsed. */
|
2018-10-31 18:00:44 +01:00
|
|
|
void handle_early_opts(struct lightningd *ld, int argc, char *argv[]);
|
|
|
|
|
2019-07-25 16:07:58 +09:30
|
|
|
/* After this we're in the .lightning dir, and we've parsed all options */
|
2018-05-03 21:50:28 +09:30
|
|
|
void handle_opts(struct lightningd *ld, int argc, char *argv[]);
|
2017-01-04 13:22:29 +10:30
|
|
|
|
2017-10-23 15:35:28 +10:30
|
|
|
/* Derive default color and alias from the pubkey. */
|
|
|
|
void setup_color_and_alias(struct lightningd *ld);
|
2018-01-17 06:13:14 +10:30
|
|
|
|
2017-08-29 01:36:01 +09:30
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPTIONS_H */
|