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

Function add_opt

ccan/ccan/opt/opt.c:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static void add_opt(const struct opt_table *entry)
156{
157 opt_table = opt_alloc.realloc(opt_table,
158 sizeof(opt_table[0]) * (opt_count+1));
159 opt_table[opt_count++] = *entry;
160}
161
162void _opt_register(const char *names, enum opt_type type,
163 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