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

Function clear_dset

dset.c:193–201  ·  view source on GitHub ↗

! \brief * Empty the dset array */

Source from the content-addressed store, hash-verified

191 * Empty the dset array
192 */
193void clear_dset(void)
194{
195 struct dset_ctx *dsct = get_dset_ctx();
196
197 if (dsct) {
198 _empty_branches( dsct );
199 dsct->nr_branches = 0;
200 }
201}
202
203
204/* copies and fills in a branch_wrap with the values from a msg_branch

Callers 5

serialize_branchesFunction · 0.85
receive_msgFunction · 0.85
test_lookupFunction · 0.85
t_forward_nonackFunction · 0.85
lookupFunction · 0.85

Calls 1

_empty_branchesFunction · 0.85

Tested by 1

test_lookupFunction · 0.68