| 694 | return 0; |
| 695 | } |
| 696 | void setMenuOption(const char* optionName, int value) { |
| 697 | for (int i=0; i<numMenus; i++) { |
| 698 | for (int j=0; j<menuList[i].numOptions; j++) { |
| 699 | if (strcasecmp(optionName, menuList[i].options[j].name) == 0) { |
| 700 | menuList[i].options[j].selection = value; |
| 701 | menuList[i].options[j].function(value); |
| 702 | return; |
| 703 | } |
| 704 | } |
| 705 | } |
| 706 | } |
| 707 | void enableMenuOption(const char* optionName) { |
| 708 | for (int i=0; i<numMenus; i++) { |
| 709 | for (int j=0; j<menuList[i].numOptions; j++) { |
no outgoing calls
no test coverage detected