Skip to content

Commit dcf3341

Browse files
committed
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.
1 parent a8738f4 commit dcf3341

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

include/haproxy/quic_conn.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ void quic_set_connection_close(struct quic_conn *qc, const struct quic_err err);
163163
void quic_set_tls_alert(struct quic_conn *qc, int alert);
164164
int quic_set_app_ops(struct quic_conn *qc, const unsigned char *alpn, size_t alpn_len);
165165
int qc_check_dcid(struct quic_conn *qc, unsigned char *dcid, size_t dcid_len);
166-
int qc_send_mux(struct quic_conn *qc, struct list *frms);
167166

168167
void qc_notify_err(struct quic_conn *qc);
169168
int qc_notify_send(struct quic_conn *qc);

include/haproxy/quic_tx.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ void qc_txb_release(struct quic_conn *qc);
3333
int qc_purge_txbuf(struct quic_conn *qc, struct buffer *buf);
3434
struct buffer *qc_get_txb(struct quic_conn *qc);
3535

36+
int qc_send_mux(struct quic_conn *qc, struct list *frms);
37+
3638
void qel_register_send(struct list *send_list, struct quic_enc_level *qel,
3739
struct list *frms);
3840
int qel_need_sending(struct quic_enc_level *qel, struct quic_conn *qc);

src/mux_quic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <haproxy/quic_sock.h>
2323
#include <haproxy/quic_stream.h>
2424
#include <haproxy/quic_tp-t.h>
25+
#include <haproxy/quic_tx.h>
2526
#include <haproxy/session.h>
2627
#include <haproxy/ssl_sock-t.h>
2728
#include <haproxy/stconn.h>

0 commit comments

Comments
 (0)