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

Function update_msg_branch_q

dset.c:397–409  ·  view source on GitHub ↗

! \brief * Updates PATH of an already appended branch */

Source from the content-addressed store, hash-verified

395 * Updates PATH of an already appended branch
396 */
397int update_msg_branch_q(unsigned int idx, int val)
398{
399 struct dset_ctx *dsct = get_dset_ctx();
400 struct msg_branch_wrap *br;
401
402 if (!dsct || !dsct->enabled || idx >= dsct->nr_branches)
403 return -1;
404
405 br = dsct->branches + idx;
406
407 br->branch.q = val;
408 return 0;
409}
410
411
412/* ! \brief

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected