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

Function add_opt

ccan/ccan/opt/opt.c:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static void add_opt(const struct opt_table *entry)
155{
156 opt_table = opt_alloc.realloc(opt_table,
157 sizeof(opt_table[0]) * (opt_count+1));
158 opt_table[opt_count++] = *entry;
159}
160
161void _opt_register(const char *names, enum opt_type type,
162 char *(*cb)(void *arg),

Callers 2

_opt_registerFunction · 0.85
opt_register_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected