diff src/core/ngx_core.h @ 8167:5d91389e0fd3 quic

Initial QUIC support in http.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 28 Feb 2020 13:09:51 +0300
parents 06b01840bd42
children 4ae9ac69ab93
line wrap: on
line diff
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -12,23 +12,24 @@
 #include <ngx_config.h>
 
 
-typedef struct ngx_module_s          ngx_module_t;
-typedef struct ngx_conf_s            ngx_conf_t;
-typedef struct ngx_cycle_s           ngx_cycle_t;
-typedef struct ngx_pool_s            ngx_pool_t;
-typedef struct ngx_chain_s           ngx_chain_t;
-typedef struct ngx_log_s             ngx_log_t;
-typedef struct ngx_open_file_s       ngx_open_file_t;
-typedef struct ngx_command_s         ngx_command_t;
-typedef struct ngx_file_s            ngx_file_t;
-typedef struct ngx_event_s           ngx_event_t;
-typedef struct ngx_event_aio_s       ngx_event_aio_t;
-typedef struct ngx_connection_s      ngx_connection_t;
-typedef struct ngx_thread_task_s     ngx_thread_task_t;
-typedef struct ngx_ssl_s             ngx_ssl_t;
-typedef struct ngx_proxy_protocol_s  ngx_proxy_protocol_t;
-typedef struct ngx_ssl_connection_s  ngx_ssl_connection_t;
-typedef struct ngx_udp_connection_s  ngx_udp_connection_t;
+typedef struct ngx_module_s           ngx_module_t;
+typedef struct ngx_conf_s             ngx_conf_t;
+typedef struct ngx_cycle_s            ngx_cycle_t;
+typedef struct ngx_pool_s             ngx_pool_t;
+typedef struct ngx_chain_s            ngx_chain_t;
+typedef struct ngx_log_s              ngx_log_t;
+typedef struct ngx_open_file_s        ngx_open_file_t;
+typedef struct ngx_command_s          ngx_command_t;
+typedef struct ngx_file_s             ngx_file_t;
+typedef struct ngx_event_s            ngx_event_t;
+typedef struct ngx_event_aio_s        ngx_event_aio_t;
+typedef struct ngx_connection_s       ngx_connection_t;
+typedef struct ngx_thread_task_s      ngx_thread_task_t;
+typedef struct ngx_ssl_s              ngx_ssl_t;
+typedef struct ngx_proxy_protocol_s   ngx_proxy_protocol_t;
+typedef struct ngx_quic_connection_s  ngx_quic_connection_t;
+typedef struct ngx_ssl_connection_s   ngx_ssl_connection_t;
+typedef struct ngx_udp_connection_s   ngx_udp_connection_t;
 
 typedef void (*ngx_event_handler_pt)(ngx_event_t *ev);
 typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);
@@ -82,6 +83,7 @@ typedef void (*ngx_connection_handler_pt
 #include <ngx_resolver.h>
 #if (NGX_OPENSSL)
 #include <ngx_event_openssl.h>
+#include <ngx_event_quic.h>
 #endif
 #include <ngx_process_cycle.h>
 #include <ngx_conf_file.h>