* Check if an action string is in the SupportedActions list. */
| 1882 | * Check if an action string is in the SupportedActions list. |
| 1883 | */ |
| 1884 | static bool |
| 1885 | IsActionSupported(const char *action) |
| 1886 | { |
| 1887 | for (int i = 0; i < NumSupportedActions; i++) |
| 1888 | { |
| 1889 | if (strcmp(action, SupportedActions[i]) == 0) |
| 1890 | { |
| 1891 | return true; |
| 1892 | } |
| 1893 | } |
| 1894 | return false; |
| 1895 | } |