mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
daemon/options: split option registration and parsing.
This allows us to add extra options before parsing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
struct lightningd_state;
|
||||
|
||||
/* You can register additional options *after* this if you want. */
|
||||
void register_opts(struct lightningd_state *dstate);
|
||||
|
||||
/* After this, we're in the .lightning dir, config file parsed.
|
||||
* If we just created the dir, returns true.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user