| 11 | #include <wire/onion_wire.h> |
| 12 | |
| 13 | const char *json_tok_full(const char *buffer, const jsmntok_t *t) |
| 14 | { |
| 15 | if (t->type == JSMN_STRING) |
| 16 | return buffer + t->start - 1; |
| 17 | return buffer + t->start; |
| 18 | } |
| 19 | |
| 20 | /* Include " if it's a string. */ |
| 21 | int json_tok_full_len(const jsmntok_t *t) |
no outgoing calls
no test coverage detected