MCPcopy Create free account
hub / github.com/acl-dev/acl / __cfg_server_parse

Function __cfg_server_parse

lib_protocol/samples/http_probe/probe_cfg.cpp:267–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267static void __cfg_server_parse(const ACL_ARRAY *a)
268{
269 int i, n;
270
271 if (a == NULL)
272 return;
273
274 n = acl_array_size(a);
275
276#if 0
277 for (i = 0; i < n; i++)
278 acl_msg_info("%s: %s", VAR_CFG_SERVER, (const char *) acl_array_index(a, i));
279#endif
280
281 for (i = 0; i < n; i++)
282 __cfg_parse_one_server((const char *) acl_array_index(a, i));
283}
284
285void probe_cfg_load(void)
286{

Callers 1

probe_cfg_loadFunction · 0.85

Calls 4

acl_array_sizeFunction · 0.85
acl_msg_infoFunction · 0.85
acl_array_indexFunction · 0.85
__cfg_parse_one_serverFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…