! \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 */
| 176 | * more branches |
| 177 | */ |
| 178 | struct 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 |
no outgoing calls
no test coverage detected