json_write_buf
struct json_write_buf wbuf;
static int wbuf_flush(struct json_write_buf *wbuf, int full);
static int wbuf_init(struct json_write_buf *wbuf, BIO *bio, size_t alloc)
static void wbuf_cleanup(struct json_write_buf *wbuf)
static void wbuf_set0_bio(struct json_write_buf *wbuf, BIO *bio)
static ossl_inline void wbuf_clean(struct json_write_buf *wbuf)
static ossl_inline size_t wbuf_avail(struct json_write_buf *wbuf)
static ossl_inline int wbuf_write_char(struct json_write_buf *wbuf, char c)
static int wbuf_write_str(struct json_write_buf *wbuf, const char *s)
static int wbuf_flush(struct json_write_buf *wbuf, int full)