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

Function get_msg_branch

dset.c:178–187  ·  view source on GitHub ↗

! \brief Find the next brand from the destination set * \return Return the next branch from the dset * array, 0 is returned if there are no * more branches */

Source from the content-addressed store, hash-verified

176 * more branches
177 */
178struct msg_branch* get_msg_branch(unsigned int idx)
179{
180 struct dset_ctx *dsct = get_dset_ctx();
181
182 if (dsct && idx < dsct->nr_branches) {
183 return &dsct->branches[idx].branch;
184 } else {
185 return NULL;
186 }
187}
188
189
190/*! \brief

Callers 7

serialize_branchesFunction · 0.85
get_branch_fieldFunction · 0.85
print_dsetFunction · 0.85
allow_routingFunction · 0.85
t_forward_nonackFunction · 0.85
lookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected