True if the first non-whitespace byte of s is '{' (raw-JSON detection). */
| 653 | |
| 654 | /* True if the first non-whitespace byte of s is '{' (raw-JSON detection). */ |
| 655 | static bool cli_first_nonspace_is_brace(const char *s) { |
| 656 | while (*s == ' ' || *s == '\t' || *s == '\n' || *s == '\r') { |
| 657 | s++; |
| 658 | } |
| 659 | return *s == '{'; |
| 660 | } |
| 661 | |
| 662 | static char *main_local_cli_daemon_execute(const char *tool_name, const char *args_json); |
| 663 |