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>
|
|
|
|
|
2017-08-29 01:39:01 +09:30
|
|
|
struct lightningd;
|
2017-01-04 13:22:29 +10:30
|
|
|
|
2017-02-24 16:22:56 +10:30
|
|
|
/* You can register additional options *after* this if you want. */
|
2017-08-29 01:39:01 +09:30
|
|
|
void register_opts(struct lightningd *ld);
|
2017-02-24 16:22:56 +10:30
|
|
|
|
2018-05-03 21:50:28 +09:30
|
|
|
/* After this, we're in the .lightning dir, config files parsed. */
|
|
|
|
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
|
|
|
|
|
|
|
/* Global to allow deprecated options. */
|
|
|
|
extern bool deprecated_apis;
|
2017-08-29 01:36:01 +09:30
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPTIONS_H */
|