| 54 | } |
| 55 | |
| 56 | char *json_strdup(const tal_t *ctx, const char *buffer, const jsmntok_t *tok) |
| 57 | { |
| 58 | return tal_strndup(ctx, buffer + tok->start, tok->end - tok->start); |
| 59 | } |
| 60 | |
| 61 | |
| 62 | bool json_to_u64(const char *buffer, const jsmntok_t *tok, u64 *num) |
nothing calls this directly
no outgoing calls
no test coverage detected