| 761 | |
| 762 | |
| 763 | dpl_id_p select_dpid(dp_connection_list_p conn, int id, int index) |
| 764 | { |
| 765 | dpl_id_p idp; |
| 766 | |
| 767 | if(!conn || !conn->hash[index]) |
| 768 | return NULL; |
| 769 | |
| 770 | for(idp = conn->hash[index]; idp!=NULL; idp = idp->next) |
| 771 | if(idp->dp_id == id) |
| 772 | return idp; |
| 773 | |
| 774 | return NULL; |
| 775 | } |
| 776 | |
| 777 | |
| 778 | /* FOR DEBUG PURPOSES */ |
no outgoing calls
no test coverage detected