MCPcopy Create free account
hub / github.com/Netis/cloud-probe / find_output_factory

Function find_output_factory

cpworker/src/task.c:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static OutputFactory find_output_factory(const char *name)
59{
60 for (int i = 0; i < sizeof(output_entries) / sizeof(output_entry_t); i++)
61 {
62 if (strcmp(output_entries[i].name, name) == 0)
63 {
64 return output_entries[i].factory;
65 }
66 }
67 return NULL;
68}
69
70typedef struct Task
71{

Callers 1

capture_task_newFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected