| 2401 | } |
| 2402 | |
| 2403 | static bool boolDecode(const char *s) |
| 2404 | { |
| 2405 | bool ret = false; |
| 2406 | |
| 2407 | if (isdigit(s[0])) |
| 2408 | { |
| 2409 | ret = atoi(s) != 0; |
| 2410 | } |
| 2411 | else if (strcasecmp(s, "true") == 0) |
| 2412 | { |
| 2413 | ret = true; |
| 2414 | } |
| 2415 | return ret; |
| 2416 | } |
| 2417 | |
| 2418 | int saveInputSettingsToFile(const char *filename) |
| 2419 | { |
no outgoing calls
no test coverage detected