| 72 | } |
| 73 | |
| 74 | void json_stream_log_suppress(struct json_stream *js, const char *cmd_name) |
| 75 | { |
| 76 | /* Really shouldn't be used for anything else */ |
| 77 | assert(streq(cmd_name, "getlog")); |
| 78 | js->log = NULL; |
| 79 | } |
| 80 | |
| 81 | void json_stream_append(struct json_stream *js, |
| 82 | const char *str, size_t len) |
no outgoing calls
no test coverage detected