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

Function strset_init

ccan/ccan/strset/strset.h:32–35  ·  view source on GitHub ↗

* strset_init - initialize a string set (empty) * * For completeness; if you've arranged for it to be NULL already you don't * need this. * * Example: * struct strset set; * * strset_init(&set); */

Source from the content-addressed store, hash-verified

30 * strset_init(&set);
31 */
32static inline void strset_init(struct strset *set)
33{
34 set->u.n = NULL;
35}
36
37/**
38 * strset_empty - is this string set empty?

Callers 7

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
db_stepFunction · 0.85

Calls

no outgoing calls

Tested by 5

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68