]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: adjust quic_conn-t.h include list
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 21 May 2025 09:56:48 +0000 (11:56 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 21 May 2025 12:44:27 +0000 (14:44 +0200)
Adjust include list in quic_conn-t.h. This file is included in many QUIC
source, so it is useful to keep as lightweight as possible. Note that
connection/QUIC MUX are transformed into forward declaration for better
layer separation.

include/haproxy/quic_conn-t.h

index f97ef42890986c196eaa1d800ae970ff218911cc..7aecde5d3b482918128494b3997e1378cf842b18 100644 (file)
 
 #include <sys/socket.h>
 
-#include <haproxy/list.h>
-#include <haproxy/show_flags-t.h>
+#include <import/ebtree-t.h>
 
+#include <haproxy/api-t.h>
+#include <haproxy/buf-t.h>
+#include <haproxy/listener-t.h>
 #include <haproxy/openssl-compat.h>
-#include <haproxy/mux_quic-t.h>
 #include <haproxy/quic_cid-t.h>
 #include <haproxy/quic_cc-t.h>
-#include <haproxy/quic_loss-t.h>
+#include <haproxy/quic_frame-t.h>
 #include <haproxy/quic_openssl_compat-t.h>
 #include <haproxy/quic_stats-t.h>
 #include <haproxy/quic_tls-t.h>
 #include <haproxy/quic_tp-t.h>
-#include <haproxy/task.h>
-
-#include <import/ebtree-t.h>
+#include <haproxy/show_flags-t.h>
+#include <haproxy/ssl_sock-t.h>
+#include <haproxy/task-t.h>
 
 typedef unsigned long long ull;
 
@@ -278,6 +279,10 @@ struct quic_conn_cntrs {
        long long streams_blocked_uni;       /* total number of times STREAMS_BLOCKED_UNI frame was received */
 };
 
+struct connection;
+struct qcc;
+struct qcc_app_ops;
+
 #define QUIC_CONN_COMMON                               \
     struct {                                           \
         /* Connection owned socket FD. */              \