diff options
Diffstat (limited to 'include/internal/quic_stream.h')
-rw-r--r-- | include/internal/quic_stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/quic_stream.h b/include/internal/quic_stream.h index 42d6ed2d7d..a1e88a4ab6 100644 --- a/include/internal/quic_stream.h +++ b/include/internal/quic_stream.h @@ -254,6 +254,12 @@ void ossl_quic_sstream_fin(QUIC_SSTREAM *qss); int ossl_quic_sstream_get_final_size(QUIC_SSTREAM *qss, uint64_t *final_size); /* + * Returns 1 iff all bytes (and any FIN, if any) which have been appended to the + * QUIC_SSTREAM so far, and any FIN (if any), have been both sent and acked. + */ +int ossl_quic_sstream_is_totally_acked(QUIC_SSTREAM *qss); + +/* * Resizes the internal ring buffer. All stream data is preserved safely. * * This can be used to expand or contract the ring buffer, but not to contract |