2017-08-28 18:06:01 +02:00
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_OPTIONS_H
|
|
|
|
#define LIGHTNING_LIGHTNINGD_OPTIONS_H
|
2017-01-04 03:52:29 +01:00
|
|
|
#include "config.h"
|
|
|
|
#include <ccan/tal/tal.h>
|
|
|
|
|
2017-08-28 18:09:01 +02:00
|
|
|
struct lightningd;
|
2017-01-04 03:52:29 +01:00
|
|
|
|
2017-02-24 06:52:56 +01:00
|
|
|
/* You can register additional options *after* this if you want. */
|
2017-08-28 18:09:01 +02:00
|
|
|
void register_opts(struct lightningd *ld);
|
2017-02-24 06:52:56 +01:00
|
|
|
|
2017-01-04 04:39:20 +01:00
|
|
|
/* After this, we're in the .lightning dir, config file parsed.
|
2017-01-04 04:33:15 +01:00
|
|
|
* If we just created the dir, returns true.
|
|
|
|
*/
|
2017-08-28 18:09:01 +02:00
|
|
|
bool handle_opts(struct lightningd *ld, int argc, char *argv[]);
|
2017-01-04 03:52:29 +01:00
|
|
|
|
2017-08-28 18:06:01 +02:00
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPTIONS_H */
|