Support SSL_OP_CLEANSE_PLAINTEXT on QUIC streams
[openssl.git] / include / internal / quic_stream.h
index a1e88a4ab63b286e4a0ce22f1ed1457e4e649e42..4bd88d5b110a46f5e4ae0bd9c33bebee1822063e 100644 (file)
@@ -414,6 +414,11 @@ int ossl_quic_rstream_move_to_rbuf(QUIC_RSTREAM *qrs);
  * than currently occupied.
  */
 int ossl_quic_rstream_resize_rbuf(QUIC_RSTREAM *qrs, size_t rbuf_size);
+
+/*
+ * Sets flag to cleanse the buffered data when user reads it.
+ */
+void ossl_quic_rstream_set_cleanse(QUIC_RSTREAM *qrs, int cleanse);
 # endif
 
 #endif