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

Function plugin_option_cb_check

plugins/libplugin.h:570–576  ·  view source on GitHub ↗

Simply exists to check that `set` to plugin_option* is correct type */

Source from the content-addressed store, hash-verified

568
569/* Simply exists to check that `set` to plugin_option* is correct type */
570static inline void *plugin_option_cb_check(char *(*set)(struct command *cmd,
571 const char *arg,
572 bool check_only,
573 void *))
574{
575 return set;
576}
577
578/* Simply exists to check that `jsonfmt` to plugin_option* is correct type */
579static inline void *plugin_option_jsonfmt_check(bool (*jsonfmt)(struct command *,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected