| 2375 | */ |
| 2376 | |
| 2377 | static struct rtpp_set * select_rtpp_set(int id_set){ |
| 2378 | |
| 2379 | struct rtpp_set * rtpp_list; |
| 2380 | /*is it a valid set_id?*/ |
| 2381 | LM_DBG("Looking for set_id %d\n", id_set); |
| 2382 | |
| 2383 | if(!rtpp_set_list || !(*rtpp_set_list) || !(*rtpp_set_list)->rset_first) |
| 2384 | return 0; |
| 2385 | |
| 2386 | for(rtpp_list=(*rtpp_set_list)->rset_first; rtpp_list!=0 && |
| 2387 | rtpp_list->id_set!=id_set; rtpp_list=rtpp_list->rset_next); |
| 2388 | if(!rtpp_list){ |
| 2389 | LM_DBG("no engine in set %d\n", id_set); |
| 2390 | } |
| 2391 | |
| 2392 | return rtpp_list; |
| 2393 | } |
| 2394 | |
| 2395 | int rtpp_check_reload_ver(struct rtpp_set *set) |
| 2396 | { |
no outgoing calls
no test coverage detected