| 1017 | } |
| 1018 | |
| 1019 | static int w_move_msg_branch(struct sip_msg *msg, int *src_idx, |
| 1020 | int *dst_idx, int *keep) |
| 1021 | { |
| 1022 | return (move_msg_branch(msg, |
| 1023 | (src_idx?*src_idx:-1), (dst_idx?*dst_idx:-1), (keep?1:0))==0) ? 1 : -1; |
| 1024 | } |
| 1025 | |
| 1026 | static int w_swap_msg_branches(struct sip_msg *msg, int *src_idx, int *dst_idx) |
| 1027 | { |
nothing calls this directly
no test coverage detected