summaryrefslogtreecommitdiff
path: root/include/internal/quic_ssl.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:56 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:13 +0100
commitc3a04ea2fdd073e55b57e70e4f17f3ccbaa8c8a6 (patch)
tree2f9714368d7195d214ac85f5e860629ad9f5af80 /include/internal/quic_ssl.h
parentb6fc2294a1a5bd6053647afea02180147018112b (diff)
downloadopenssl-new-c3a04ea2fdd073e55b57e70e4f17f3ccbaa8c8a6.tar.gz
QUIC DISPATCH/APL: Add SSL_stream_reset and status query APIs
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'include/internal/quic_ssl.h')
-rw-r--r--include/internal/quic_ssl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/internal/quic_ssl.h b/include/internal/quic_ssl.h
index ed17005843..050bfe9d24 100644
--- a/include/internal/quic_ssl.h
+++ b/include/internal/quic_ssl.h
@@ -77,6 +77,20 @@ __owur int ossl_quic_set_incoming_stream_reject_policy(SSL *s, int policy,
__owur SSL *ossl_quic_accept_stream(SSL *s, uint64_t flags);
__owur size_t ossl_quic_get_accept_stream_queue_len(SSL *s);
+__owur int ossl_quic_stream_reset(SSL *ssl,
+ const SSL_STREAM_RESET_ARGS *args,
+ size_t args_len);
+
+__owur int ossl_quic_get_stream_read_state(SSL *ssl);
+__owur int ossl_quic_get_stream_write_state(SSL *ssl);
+__owur int ossl_quic_get_stream_read_error_code(SSL *ssl,
+ uint64_t *app_error_code);
+__owur int ossl_quic_get_stream_write_error_code(SSL *ssl,
+ uint64_t *app_error_code);
+__owur int ossl_quic_get_conn_close_info(SSL *ssl,
+ SSL_CONN_CLOSE_INFO *info,
+ size_t info_len);
+
/*
* Used to override ossl_time_now() for debug purposes. Must be called before
* connecting.