True if the first non-whitespace byte of s is '{' (raw-JSON detection). */
| 780 | |
| 781 | /* True if the first non-whitespace byte of s is '{' (raw-JSON detection). */ |
| 782 | static bool cli_first_nonspace_is_brace(const char *s) { |
| 783 | while (*s == ' ' || *s == '\t' || *s == '\n' || *s == '\r') { |
| 784 | s++; |
| 785 | } |
| 786 | return *s == '{'; |
| 787 | } |
| 788 | |
| 789 | static char *main_local_cli_daemon_execute(const char *tool_name, const char *args_json, |
| 790 | bool quiet_requested); |