mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
JSONRPC: listconfigs command.
With the new 'human-readable' mode of lightning-cli, this actually produces a valid config file. It's a bit hacky though... Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
0600aac68f
commit
327e2b8fd8
@@ -8,6 +8,7 @@
|
||||
|
||||
struct lightningd;
|
||||
struct timerel;
|
||||
struct lightningd;
|
||||
|
||||
enum log_level {
|
||||
/* Logging all IO. */
|
||||
@@ -89,6 +90,8 @@ void log_dump_to_file(int fd, const struct log_book *lr);
|
||||
void opt_register_logging(struct lightningd *ld);
|
||||
void crashlog_activate(const char *argv0, struct log *log);
|
||||
|
||||
char *arg_log_to_file(const char *arg, struct lightningd *ld);
|
||||
|
||||
/* Convenience parent for temporary allocations (eg. type_to_string)
|
||||
* during log calls; freed after every log_*() */
|
||||
const tal_t *ltmp;
|
||||
|
||||
Reference in New Issue
Block a user