MCPcopy Create free account
hub / github.com/ElementsProject/lightning / gather_args

Function gather_args

plugins/bcli.c:122–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122static LAST_ARG_NULL const char **
123gather_args(const tal_t *ctx, const char ***stdinargs, const char *cmd, ...)
124{
125 va_list ap;
126 const char **ret;
127
128 va_start(ap, cmd);
129 ret = gather_argsv(ctx, stdinargs, cmd, ap);
130 va_end(ap);
131
132 return ret;
133}
134
135/* For printing: simple string of args (no secrets!) */
136static char *args_string(const tal_t *ctx, const char **args, const char **stdinargs)

Callers 3

bitcoind_failureFunction · 0.70
wait_and_check_bitcoindFunction · 0.70

Calls 1

gather_argsvFunction · 0.85

Tested by

no test coverage detected