| 587 | } |
| 588 | |
| 589 | bool AIPathFreePath(ai_path_info *aip) { |
| 590 | int i; |
| 591 | |
| 592 | for (i = 0; i < aip->num_paths; i++) { |
| 593 | if (aip->path_type[i] == AIP_DYNAMIC) { |
| 594 | AIPathFreeDPathSlot(aip->path_id[i]); |
| 595 | } |
| 596 | } |
| 597 | |
| 598 | AIPathInitPath(aip); |
| 599 | |
| 600 | return true; |
| 601 | } |
| 602 | |
| 603 | static bool AIPathAddDPath(ai_path_info *aip, int handle) { |
| 604 | int slot; |
no test coverage detected