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

Function api_name

lightningd/lightningd.c:1010–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1008 struct recover_payload *);
1009
1010static const char *api_name(const tal_t *ctx,
1011 const char *subsys,
1012 const char *api)
1013{
1014 if (api)
1015 return tal_fmt(ctx, "%s.%s", subsys, api);
1016 return subsys;
1017}
1018
1019/* Do we output this field? */
1020bool lightningd_deprecated_out_ok(struct lightningd *ld,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected