! \brief * Updates SOCKET of an already appended branch */
| 431 | * Updates SOCKET of an already appended branch |
| 432 | */ |
| 433 | int update_msg_branch_bflags(unsigned int idx, unsigned int val) |
| 434 | { |
| 435 | struct dset_ctx *dsct = get_dset_ctx(); |
| 436 | struct msg_branch_wrap *br; |
| 437 | |
| 438 | if (!dsct || !dsct->enabled || idx >= dsct->nr_branches) |
| 439 | return -1; |
| 440 | |
| 441 | br = dsct->branches + idx; |
| 442 | |
| 443 | br->branch.bflags = val; |
| 444 | return 0; |
| 445 | } |
| 446 | |
| 447 | |
| 448 | #define _post_copy_branch_update(_br) \ |
no outgoing calls
no test coverage detected