comparison src/http/v3/ngx_http_v3_uni.h @ 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 src/http/v3/ngx_http_v3_streams.h@531075860fe2
children f742b1b46901
comparison
equal deleted inserted replaced
8924:d6ef13c5fd8e 8925:18d23ed15eef
1
2 /*
3 * Copyright (C) Roman Arutyunyan
4 * Copyright (C) Nginx, Inc.
5 */
6
7
8 #ifndef _NGX_HTTP_V3_UNI_H_INCLUDED_
9 #define _NGX_HTTP_V3_UNI_H_INCLUDED_
10
11
12 #include <ngx_config.h>
13 #include <ngx_core.h>
14 #include <ngx_http.h>
15
16
17 void ngx_http_v3_init_uni_stream(ngx_connection_t *c);
18 ngx_int_t ngx_http_v3_register_uni_stream(ngx_connection_t *c, uint64_t type);
19
20 ngx_connection_t *ngx_http_v3_create_push_stream(ngx_connection_t *c,
21 uint64_t push_id);
22 ngx_int_t ngx_http_v3_set_max_push_id(ngx_connection_t *c,
23 uint64_t max_push_id);
24 ngx_int_t ngx_http_v3_goaway(ngx_connection_t *c, uint64_t push_id);
25 ngx_int_t ngx_http_v3_cancel_push(ngx_connection_t *c, uint64_t push_id);
26 ngx_int_t ngx_http_v3_cancel_stream(ngx_connection_t *c, ngx_uint_t stream_id);
27
28 ngx_int_t ngx_http_v3_send_settings(ngx_connection_t *c);
29 ngx_int_t ngx_http_v3_send_goaway(ngx_connection_t *c, uint64_t id);
30 ngx_int_t ngx_http_v3_send_ack_section(ngx_connection_t *c,
31 ngx_uint_t stream_id);
32 ngx_int_t ngx_http_v3_send_cancel_stream(ngx_connection_t *c,
33 ngx_uint_t stream_id);
34 ngx_int_t ngx_http_v3_send_inc_insert_count(ngx_connection_t *c,
35 ngx_uint_t inc);
36
37
38 #endif /* _NGX_HTTP_V3_UNI_H_INCLUDED_ */