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

Function w_swap_msg_branches

core_cmds.c:1026–1030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026static int w_swap_msg_branches(struct sip_msg *msg, int *src_idx, int *dst_idx)
1027{
1028 return (swap_msg_branches(msg,
1029 (src_idx?*src_idx:-1), (dst_idx?*dst_idx:-1))==0) ? 1 : -1 ;
1030}
1031
1032static int w_pv_printf(struct sip_msg *msg, pv_spec_t *var, str *fmt_str)
1033{

Callers

nothing calls this directly

Calls 1

swap_msg_branchesFunction · 0.85

Tested by

no test coverage detected