From 0d1e7f7aa5c4708565611de0e279ea9981db7772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Mon, 6 Jan 2025 17:20:15 +0100 Subject: [PATCH] Fix function name in documentation --- doc/send_receive_data.md | 2 +- picoquic/picoquic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/send_receive_data.md b/doc/send_receive_data.md index 1357ea943..2a7452310 100644 --- a/doc/send_receive_data.md +++ b/doc/send_receive_data.md @@ -281,7 +281,7 @@ in an error `PICOQUIC_ERROR_DATAGRAM_TOO_LONG`. With the just in time API, the application: - indicates its readiness to send datagrams marks a stream as `active` using - the API `picoquic_set_datagram_ready`. + the API `picoquic_mark_datagram_ready`. - receives the callback `picoquic_callback_prepare_datagram` when the stack is ready to send datagrams in a packet. diff --git a/picoquic/picoquic.h b/picoquic/picoquic.h index a7bae35c4..11f9f5beb 100644 --- a/picoquic/picoquic.h +++ b/picoquic/picoquic.h @@ -1334,7 +1334,7 @@ int picoquic_stop_sending(picoquic_cnx_t* cnx, * of the stream to NULL */ int picoquic_discard_stream(picoquic_cnx_t* cnx, uint64_t stream_id, uint16_t local_stream_error); -/* The function picoquic_set_datagram_ready indicates to the stack +/* The function picoquic_mark_datagram_ready indicates to the stack * whether the application is ready to send datagrams. * * When running in a multipath environment, some applications may want to