True if the first non-whitespace byte of s is '{' (raw-JSON detection). */
| 823 | |
| 824 | /* True if the first non-whitespace byte of s is '{' (raw-JSON detection). */ |
| 825 | static bool cli_first_nonspace_is_brace(const char *s) { |
| 826 | while (*s == ' ' || *s == '\t' || *s == '\n' || *s == '\r') { |
| 827 | s++; |
| 828 | } |
| 829 | return *s == '{'; |
| 830 | } |
| 831 | |
| 832 | static char *main_local_cli_daemon_execute(const char *tool_name, const char *args_json, |
| 833 | bool quiet_requested); |