changeset 8925:18d23ed15eef quic

HTTP/3: renamed files. ngx_http_v3_tables.h and ngx_http_v3_tables.c are renamed to ngx_http_v3_table.h and ngx_http_v3_table.c to better match HTTP/2 code. ngx_http_v3_streams.h and ngx_http_v3_streams.c are renamed to ngx_http_v3_uni.h and ngx_http_v3_uni.c to better match their content.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 07 Dec 2021 13:01:28 +0300
parents d6ef13c5fd8e
children 3341e4089c6c
files auto/modules src/http/v3/ngx_http_v3.h src/http/v3/ngx_http_v3_streams.c src/http/v3/ngx_http_v3_streams.h src/http/v3/ngx_http_v3_table.c src/http/v3/ngx_http_v3_table.h src/http/v3/ngx_http_v3_tables.c src/http/v3/ngx_http_v3_tables.h src/http/v3/ngx_http_v3_uni.c src/http/v3/ngx_http_v3_uni.h
diffstat 6 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/auto/modules
+++ b/auto/modules
@@ -448,13 +448,13 @@ if [ $HTTP = YES ]; then
         ngx_module_deps="src/http/v3/ngx_http_v3.h \
                          src/http/v3/ngx_http_v3_encode.h \
                          src/http/v3/ngx_http_v3_parse.h \
-                         src/http/v3/ngx_http_v3_tables.h \
-                         src/http/v3/ngx_http_v3_streams.h"
+                         src/http/v3/ngx_http_v3_table.h \
+                         src/http/v3/ngx_http_v3_uni.h"
         ngx_module_srcs="src/http/v3/ngx_http_v3.c \
                          src/http/v3/ngx_http_v3_encode.c \
                          src/http/v3/ngx_http_v3_parse.c \
-                         src/http/v3/ngx_http_v3_tables.c \
-                         src/http/v3/ngx_http_v3_streams.c \
+                         src/http/v3/ngx_http_v3_table.c \
+                         src/http/v3/ngx_http_v3_uni.c \
                          src/http/v3/ngx_http_v3_request.c \
                          src/http/v3/ngx_http_v3_module.c"
         ngx_module_libs=
--- a/src/http/v3/ngx_http_v3.h
+++ b/src/http/v3/ngx_http_v3.h
@@ -15,8 +15,8 @@
 
 #include <ngx_http_v3_parse.h>
 #include <ngx_http_v3_encode.h>
-#include <ngx_http_v3_streams.h>
-#include <ngx_http_v3_tables.h>
+#include <ngx_http_v3_uni.h>
+#include <ngx_http_v3_table.h>
 
 
 #define NGX_HTTP_V3_ALPN_PROTO                     "\x02h3"
rename from src/http/v3/ngx_http_v3_tables.c
rename to src/http/v3/ngx_http_v3_table.c
rename from src/http/v3/ngx_http_v3_tables.h
rename to src/http/v3/ngx_http_v3_table.h
--- a/src/http/v3/ngx_http_v3_tables.h
+++ b/src/http/v3/ngx_http_v3_table.h
@@ -5,8 +5,8 @@
  */
 
 
-#ifndef _NGX_HTTP_V3_TABLES_H_INCLUDED_
-#define _NGX_HTTP_V3_TABLES_H_INCLUDED_
+#ifndef _NGX_HTTP_V3_TABLE_H_INCLUDED_
+#define _NGX_HTTP_V3_TABLE_H_INCLUDED_
 
 
 #include <ngx_config.h>
@@ -50,4 +50,4 @@ ngx_int_t ngx_http_v3_set_param(ngx_conn
     uint64_t value);
 
 
-#endif /* _NGX_HTTP_V3_TABLES_H_INCLUDED_ */
+#endif /* _NGX_HTTP_V3_TABLE_H_INCLUDED_ */
rename from src/http/v3/ngx_http_v3_streams.c
rename to src/http/v3/ngx_http_v3_uni.c
rename from src/http/v3/ngx_http_v3_streams.h
rename to src/http/v3/ngx_http_v3_uni.h
--- a/src/http/v3/ngx_http_v3_streams.h
+++ b/src/http/v3/ngx_http_v3_uni.h
@@ -5,8 +5,8 @@
  */
 
 
-#ifndef _NGX_HTTP_V3_STREAMS_H_INCLUDED_
-#define _NGX_HTTP_V3_STREAMS_H_INCLUDED_
+#ifndef _NGX_HTTP_V3_UNI_H_INCLUDED_
+#define _NGX_HTTP_V3_UNI_H_INCLUDED_
 
 
 #include <ngx_config.h>
@@ -35,4 +35,4 @@ ngx_int_t ngx_http_v3_send_inc_insert_co
     ngx_uint_t inc);
 
 
-#endif /* _NGX_HTTP_V3_STREAMS_H_INCLUDED_ */
+#endif /* _NGX_HTTP_V3_UNI_H_INCLUDED_ */