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

Function charp_option

plugins/libplugin.c:1694–1699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1692}
1693
1694char *charp_option(struct command *cmd, const char *arg, bool check_only, char **p)
1695{
1696 if (!check_only)
1697 *p = tal_strdup(NULL, arg);
1698 return NULL;
1699}
1700
1701char *multi_string_option(struct command *cmd, const char *arg, bool check_only,
1702 const char ***arr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected