comparison src/event/quic/ngx_event_quic_connection.h @ 8755:b4e6b7049984 quic

QUIC: normalize header inclusion. Stop including QUIC headers with no user-serviceable parts inside. This allows to provide a much cleaner QUIC interface. To cope with that, ngx_quic_derive_key() is now explicitly exported for v3 and quic modules. Additionally, this completely hides the ngx_quic_keys_t internal type.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 13 Apr 2021 12:38:34 +0300
parents 915c2f7092ed
children 4117aa7fa38e
comparison
equal deleted inserted replaced
8754:915c2f7092ed 8755:b4e6b7049984
9 9
10 #include <ngx_config.h> 10 #include <ngx_config.h>
11 #include <ngx_core.h> 11 #include <ngx_core.h>
12 #include <ngx_event.h> 12 #include <ngx_event.h>
13 13
14 typedef struct ngx_quic_connection_s ngx_quic_connection_t;
15 typedef struct ngx_quic_send_ctx_s ngx_quic_send_ctx_t;
16 typedef struct ngx_quic_keys_s ngx_quic_keys_t;
17
14 #include <ngx_event_quic_transport.h> 18 #include <ngx_event_quic_transport.h>
15 #include <ngx_event_quic_protection.h> 19 #include <ngx_event_quic_protection.h>
16
17 typedef struct ngx_quic_connection_s ngx_quic_connection_t;
18 typedef struct ngx_quic_send_ctx_s ngx_quic_send_ctx_t;
19
20 #include <ngx_event_quic_frames.h> 20 #include <ngx_event_quic_frames.h>
21 #include <ngx_event_quic_migration.h> 21 #include <ngx_event_quic_migration.h>
22 #include <ngx_event_quic_connid.h> 22 #include <ngx_event_quic_connid.h>
23 #include <ngx_event_quic_streams.h> 23 #include <ngx_event_quic_streams.h>
24 #include <ngx_event_quic_ssl.h> 24 #include <ngx_event_quic_ssl.h>