| 61 | } |
| 62 | |
| 63 | char *json_strdup(const tal_t *ctx, const char *buffer, const jsmntok_t *tok) |
| 64 | { |
| 65 | return tal_strndup(ctx, buffer + tok->start, tok->end - tok->start); |
| 66 | } |
| 67 | |
| 68 | |
| 69 | bool json_to_u64(const char *buffer, const jsmntok_t *tok, u64 *num) |
no outgoing calls