diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-01-11 09:33:36 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-04-19 09:29:02 +0100 |
commit | 2f557ae0ea7790acaaa2141cb4275ec11e8d7fcb (patch) | |
tree | d2fcc409230a0ab64016dbb6c07a70d91a06ae41 /ssl/quic/quic_impl.c | |
parent | b90003009678ed12ccc59b6371592ecdd5d8fa2d (diff) |
QUIC APL: Add skeleton listener API methods
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)
Diffstat (limited to 'ssl/quic/quic_impl.c')
-rw-r--r-- | ssl/quic/quic_impl.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 10ef61a113..eb953a034c 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -2999,6 +2999,20 @@ SSL *ossl_quic_get0_connection(SSL *s) } /* + * SSL_get0_listener + * ----------------- + */ +SSL *ossl_quic_get0_listener(SSL *s) +{ + QCTX ctx; + + if (!expect_quic(s, &ctx)) + return NULL; + + return NULL; // XXX TODO +} + +/* * SSL_get_stream_type * ------------------- */ @@ -3987,6 +4001,21 @@ err: return NULL; } +SSL *ossl_quic_accept_connection(SSL *ssl, uint64_t flags) +{ + return NULL; // TODO XXX +} + +size_t ossl_quic_get_accept_connection_queue_len(SSL *ssl) +{ + return 0; // TODO XXX +} + +int ossl_quic_listen(SSL *ssl) +{ + return 0; // TODO XXX +} + /* * QUIC Front-End I/O API: SSL_CTX Management * ========================================== |