2017-08-28 17:06:01 +01:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_OPTIONS_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_OPTIONS_H
|
2017-01-04 02:52:29 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2017-08-28 17:09:01 +01:00
|
|
|
struct lightningd;
|
2017-01-04 02:52:29 +00:00
|
|
|
|
2019-07-25 07:37:58 +01:00
|
|
|
/* After this, early config file and cmdline options parsed. */
|
2018-10-31 17:00:44 +00:00
|
|
|
void handle_early_opts(struct lightningd *ld, int argc, char *argv[]);
|
|
|
|
|
2019-07-25 07:37:58 +01:00
|
|
|
/* After this we're in the .lightning dir, and we've parsed all options */
|
2018-05-03 13:20:28 +01:00
|
|
|
void handle_opts(struct lightningd *ld, int argc, char *argv[]);
|
2017-01-04 02:52:29 +00:00
|
|
|
|
2017-10-23 06:05:28 +01:00
|
|
|
/* Derive default color and alias from the pubkey. */
|
|
|
|
void setup_color_and_alias(struct lightningd *ld);
|
2018-01-16 19:43:14 +00:00
|
|
|
|
2017-08-28 17:06:01 +01:00
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPTIONS_H */
|