MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / parse_param_node_info

Function parse_param_node_info

modules/clusterer/clusterer_mod.c:356–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354} while(0)
355
356int parse_param_node_info(str *descr, int *int_vals, str *str_vals)
357{
358 char *p, *pe;
359 str aux;
360
361 PARSE_PROP(cluster_id_col, INT_VALS_CLUSTER_ID_COL, 0);
362 PARSE_PROP(node_id_col, INT_VALS_NODE_ID_COL, 0);
363 PARSE_PROP(url_col, STR_VALS_URL_COL, 1);
364 PARSE_PROP(no_ping_retries_col, INT_VALS_NO_PING_RETRIES_COL, 0);
365 PARSE_PROP(priority_col, INT_VALS_PRIORITY_COL, 0);
366 PARSE_PROP(sip_addr_col, STR_VALS_SIP_ADDR_COL, 1);
367 PARSE_PROP(flags_col, STR_VALS_FLAGS_COL, 1);
368
369 return 0;
370}
371
372static int mod_init(void)
373{

Callers 2

provision_neighborFunction · 0.85
provision_currentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected