summaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:54 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:11 +0100
commitcb5c208bf2e39bf2367b051136c599cff1fc3683 (patch)
tree9c73cd585825736cebe9ebfac7325218f3bbacb6 /include/openssl
parent26ad16ea84c58d91375491c0872e43dc27915b4a (diff)
downloadopenssl-new-cb5c208bf2e39bf2367b051136c599cff1fc3683.tar.gz
QUIC APL: Refactor stream-related code into QUIC_XSO object
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/openssl')
-rw-r--r--include/openssl/ssl.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in
index 38dc3e5172..9593e6bfed 100644
--- a/include/openssl/ssl.h.in
+++ b/include/openssl/ssl.h.in
@@ -2266,6 +2266,10 @@ __owur int SSL_net_write_desired(SSL *s);
__owur int SSL_set_blocking_mode(SSL *s, int blocking);
__owur int SSL_get_blocking_mode(SSL *s);
__owur int SSL_set_initial_peer_addr(SSL *s, const BIO_ADDR *peer_addr);
+
+#define SSL_STREAM_FLAG_UNI (1U << 0)
+__owur SSL *SSL_new_stream(SSL *s, uint64_t flags);
+
# ifndef OPENSSL_NO_QUIC
__owur int SSL_inject_net_dgram(SSL *s, const unsigned char *buf,
size_t buf_len,