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

Function cfg_context_reset_all

cfg_pp.c:259–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257} *__ccon;
258
259static void cfg_context_reset_all(void)
260{
261 struct cfg_context *pos = NULL, *it = __ccon;
262
263 while ( it && (it != __ccon || !pos) ) {
264 pos = it;
265 it = it->next;
266 free((char*)pos->path);
267 free((char*)pos->dirname);
268 free(pos->lines);
269 free(pos);
270 };
271 __ccon = NULL;
272}
273
274static struct cfg_context *cfg_context_new_file(const char *path)
275{

Callers 1

parse_opensips_cfgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected