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

Function subsystem_to_str

plugins/autoclean.c:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134};
135
136static const char *subsystem_to_str(const struct subsystem_and_variant *sv)
137{
138 assert(sv->type >= 0 && sv->type < NUM_SUBSYSTEM_TYPES);
139 assert(sv->variant >= 0 && sv->variant < NUM_SUBSYSTEM_VARIANTS);
140 return subsystem_ops[sv->type].names[sv->variant];
141}
142
143/* Iterator helpers */
144static struct subsystem_and_variant first_sv(void)

Callers 5

json_to_subsystemFunction · 0.85
datastore_pathFunction · 0.85
clean_finishedFunction · 0.85
del_failedFunction · 0.85
json_success_subsystemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected