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

Function opt_set_charp

ccan/ccan/opt/helpers.c:56–60  ·  view source on GitHub ↗

Set a char *. */

Source from the content-addressed store, hash-verified

54
55/* Set a char *. */
56char *opt_set_charp(const char *arg, char **p)
57{
58 *p = cast_const(char *, arg);
59 return NULL;
60}
61
62/* Set an integer value, various forms.
63 FIXME: set to 1 on arg == NULL ? */

Callers 2

opt_set_talstrFunction · 0.85
opt_set_abspathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected