From: Amaury Denoyelle Date: Thu, 24 Oct 2024 14:32:29 +0000 (+0200) Subject: MINOR: quic: move qc_send_mux() prototype into quic_tx.h X-Git-Tag: v3.1-dev11~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcf334168cf1774e54cdbaec35a0605c2438b819;p=thirdparty%2Fhaproxy.git MINOR: quic: move qc_send_mux() prototype into quic_tx.h qc_send_mux() is defined in quic_tx.c. As such, its prototype is moved from quic_conn.h to quic_tx.h. --- diff --git a/include/haproxy/quic_conn.h b/include/haproxy/quic_conn.h index 212e187ba6..ebff291864 100644 --- a/include/haproxy/quic_conn.h +++ b/include/haproxy/quic_conn.h @@ -163,7 +163,6 @@ void quic_set_connection_close(struct quic_conn *qc, const struct quic_err err); void quic_set_tls_alert(struct quic_conn *qc, int alert); int quic_set_app_ops(struct quic_conn *qc, const unsigned char *alpn, size_t alpn_len); int qc_check_dcid(struct quic_conn *qc, unsigned char *dcid, size_t dcid_len); -int qc_send_mux(struct quic_conn *qc, struct list *frms); void qc_notify_err(struct quic_conn *qc); int qc_notify_send(struct quic_conn *qc); diff --git a/include/haproxy/quic_tx.h b/include/haproxy/quic_tx.h index 55530d9fca..830e6f89c6 100644 --- a/include/haproxy/quic_tx.h +++ b/include/haproxy/quic_tx.h @@ -33,6 +33,8 @@ void qc_txb_release(struct quic_conn *qc); int qc_purge_txbuf(struct quic_conn *qc, struct buffer *buf); struct buffer *qc_get_txb(struct quic_conn *qc); +int qc_send_mux(struct quic_conn *qc, struct list *frms); + void qel_register_send(struct list *send_list, struct quic_enc_level *qel, struct list *frms); int qel_need_sending(struct quic_enc_level *qel, struct quic_conn *qc); diff --git a/src/mux_quic.c b/src/mux_quic.c index 302dc155b2..84f92c55b8 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include