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

Function reset_timer_list

modules/tm/timer.c:662–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660
661
662void reset_timer_list(unsigned int set, enum lists list_id)
663{
664 timertable[set].timers[list_id].first_tl.next_tl =
665 &(timertable[set].timers[list_id].last_tl );
666 timertable[set].timers[list_id].last_tl.prev_tl =
667 &(timertable[set].timers[list_id].first_tl );
668 timertable[set].timers[list_id].first_tl.prev_tl =
669 timertable[set].timers[list_id].last_tl.next_tl = NULL;
670 timertable[set].timers[list_id].last_tl.time_out = -1;
671}
672
673
674void init_timer_list(unsigned int set, enum lists list_id)

Callers 2

unlink_timer_listsFunction · 0.85
init_timer_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected