mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-06 06:34:22 +01:00
libplugin: replace rpc_delve with rpc_scan.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
b61da8c5a9
commit
09b18bf64f
@@ -190,13 +190,13 @@ command_success_str(struct command *cmd, const char *str);
|
||||
struct command_result *WARN_UNUSED_RESULT
|
||||
command_hook_success(struct command *cmd);
|
||||
|
||||
/* Synchronous helper to send command and extract single field from
|
||||
/* Synchronous helper to send command and extract fields from
|
||||
* response; can only be used in init callback. */
|
||||
const char *rpc_delve(const tal_t *ctx,
|
||||
struct plugin *plugin,
|
||||
const char *method,
|
||||
const struct json_out *params TAKES,
|
||||
const char *guide);
|
||||
void rpc_scan(struct plugin *plugin,
|
||||
const char *method,
|
||||
const struct json_out *params TAKES,
|
||||
const char *guide,
|
||||
...);
|
||||
|
||||
/* Send an async rpc request to lightningd. */
|
||||
struct command_result *
|
||||
|
||||
Reference in New Issue
Block a user