read_cb
tls_read_cb read_cb, void *cb_arg)
if ((ret = read_cb(&buf->data[buf->len],
tls_read_cb read_cb, void *cb_arg);
ctx->read_cb = NULL;
rv = (ctx->read_cb)(ctx, buf, size, ctx->cb_arg);
tls_set_cbs(struct tls *ctx, tls_read_cb read_cb, tls_write_cb write_cb,
if (read_cb == NULL || write_cb == NULL) {
ctx->read_cb = read_cb;
tls_connect_cbs(struct tls *ctx, tls_read_cb read_cb,
if (tls_set_cbs(ctx, read_cb, write_cb, cb_arg) != 0)
tls_read_cb read_cb;
tls_read_cb read_cb, tls_write_cb write_cb, void *cb_arg);
tls_read_cb read_cb, tls_write_cb write_cb, void *cb_arg)
if (tls_set_cbs(conn_ctx, read_cb, write_cb, cb_arg) != 0)
event_set(&ev, pair[1], EV_READ, read_cb, &ev);
ret = tls_buffer_extend(buf, et->extend_len, read_cb, &rs);
ret = tls13_record_recv(rec, read_cb, &rs);