OSSL_JSON_ENC
int ossl_json_flush(OSSL_JSON_ENC *json);
int ossl_json_flush_cleanup(OSSL_JSON_ENC *json);
int ossl_json_set0_sink(OSSL_JSON_ENC *json, BIO *bio);
int ossl_json_in_error(OSSL_JSON_ENC *json);
void ossl_json_object_begin(OSSL_JSON_ENC *json);
void ossl_json_object_end(OSSL_JSON_ENC *json);
void ossl_json_array_begin(OSSL_JSON_ENC *json);
void ossl_json_array_end(OSSL_JSON_ENC *json);
void ossl_json_key(OSSL_JSON_ENC *json, const char *key);
void ossl_json_null(OSSL_JSON_ENC *json);
void ossl_json_bool(OSSL_JSON_ENC *json, int value);
void ossl_json_u64(OSSL_JSON_ENC *json, uint64_t value);
void ossl_json_i64(OSSL_JSON_ENC *json, int64_t value);
void ossl_json_str(OSSL_JSON_ENC *json, const char *str);
void ossl_json_str_len(OSSL_JSON_ENC *json, const char *str, size_t str_len);
void ossl_json_str_hex(OSSL_JSON_ENC *json, const void *data, size_t data_len);
int ossl_json_init(OSSL_JSON_ENC *json, BIO *bio, uint32_t flags);
void ossl_json_cleanup(OSSL_JSON_ENC *json);
int ossl_json_reset(OSSL_JSON_ENC *json);
static int json_ensure_stack_size(OSSL_JSON_ENC *json, size_t num_bytes)
static int json_push(OSSL_JSON_ENC *json, unsigned int v)
static int json_pop(OSSL_JSON_ENC *json)
static int json_peek(OSSL_JSON_ENC *json)
static ossl_inline int in_ijson(const OSSL_JSON_ENC *json)
static ossl_inline int in_seq(const OSSL_JSON_ENC *json)
static ossl_inline int in_pretty(const OSSL_JSON_ENC *json)
int ossl_json_init(OSSL_JSON_ENC *json, BIO *bio, uint32_t flags)
void ossl_json_cleanup(OSSL_JSON_ENC *json)
int ossl_json_flush_cleanup(OSSL_JSON_ENC *json)
int ossl_json_reset(OSSL_JSON_ENC *json)
int ossl_json_flush(OSSL_JSON_ENC *json)
int ossl_json_set0_sink(OSSL_JSON_ENC *json, BIO *bio)
int ossl_json_in_error(OSSL_JSON_ENC *json)
static void json_write_qstring(OSSL_JSON_ENC *json, const char *str);
static void json_indent(OSSL_JSON_ENC *json);
static void json_raise_error(OSSL_JSON_ENC *json)
static void json_undefer(OSSL_JSON_ENC *json)
static void json_write_char(OSSL_JSON_ENC *json, char ch)
static void json_write_str(OSSL_JSON_ENC *json, const char *s)
static void json_indent(OSSL_JSON_ENC *json)
static int json_pre_item(OSSL_JSON_ENC *json)
static void json_post_item(OSSL_JSON_ENC *json)
static void composite_begin(OSSL_JSON_ENC *json, int type, char ch)
static void composite_end(OSSL_JSON_ENC *json, int type, char ch)
void ossl_json_object_begin(OSSL_JSON_ENC *json)
void ossl_json_object_end(OSSL_JSON_ENC *json)
void ossl_json_array_begin(OSSL_JSON_ENC *json)
void ossl_json_array_end(OSSL_JSON_ENC *json)
void ossl_json_key(OSSL_JSON_ENC *json, const char *key)
void ossl_json_null(OSSL_JSON_ENC *json)
void ossl_json_bool(OSSL_JSON_ENC *json, int v)
static void json_u64(OSSL_JSON_ENC *json, uint64_t v, int noquote)
void ossl_json_u64(OSSL_JSON_ENC *json, uint64_t v)
void ossl_json_i64(OSSL_JSON_ENC *json, int64_t value)
json_write_qstring_inner(OSSL_JSON_ENC *json, const char *str, size_t str_len,
json_write_qstring(OSSL_JSON_ENC *json, const char *str)
json_write_qstring_len(OSSL_JSON_ENC *json, const char *str, size_t str_len)
void ossl_json_str(OSSL_JSON_ENC *json, const char *str)
void ossl_json_str_len(OSSL_JSON_ENC *json, const char *str, size_t str_len)
void ossl_json_str_hex(OSSL_JSON_ENC *json, const void *data, size_t data_len)
OSSL_JSON_ENC json;
typedef void (*fp_d_type)(OSSL_JSON_ENC *, double);
typedef void (*fp_pz_type)(OSSL_JSON_ENC *, const void *, size_t);
OSSL_JSON_ENC j;
typedef void (*fp_type)(OSSL_JSON_ENC *);
typedef void (*fp_p_type)(OSSL_JSON_ENC *, const void *);
typedef void (*fp_i_type)(OSSL_JSON_ENC *, int);
typedef void (*fp_u64_type)(OSSL_JSON_ENC *, uint64_t);
typedef void (*fp_i64_type)(OSSL_JSON_ENC *, int64_t);