summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_frames.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-12-16 17:06:35 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-12-16 17:06:35 +0300
commit4d79f94221db9959a4bb3fee6fb3fc21d52266e8 (patch)
tree56f2b8007b679ff3e9281b1d7d6731c4791487df /src/event/quic/ngx_event_quic_frames.h
parentbaea97bc543d68ea2cc3a5dc96363777204f99bd (diff)
downloadnginx-4d79f94221db9959a4bb3fee6fb3fc21d52266e8.tar.gz
nginx-4d79f94221db9959a4bb3fee6fb3fc21d52266e8.tar.bz2
QUIC: renamed buffer-related functions.
ngx_quic_alloc_buf() -> ngx_quic_alloc_chain(), ngx_quic_free_bufs() -> ngx_quic_free_chain(), ngx_quic_trim_bufs() -> ngx_quic_trim_chain()
Diffstat (limited to 'src/event/quic/ngx_event_quic_frames.h')
-rw-r--r--src/event/quic/ngx_event_quic_frames.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event/quic/ngx_event_quic_frames.h b/src/event/quic/ngx_event_quic_frames.h
index 19a5c1668..671b6e649 100644
--- a/src/event/quic/ngx_event_quic_frames.h
+++ b/src/event/quic/ngx_event_quic_frames.h
@@ -23,13 +23,13 @@ void ngx_quic_queue_frame(ngx_quic_connection_t *qc, ngx_quic_frame_t *frame);
ngx_int_t ngx_quic_split_frame(ngx_connection_t *c, ngx_quic_frame_t *f,
size_t len);
-ngx_chain_t *ngx_quic_alloc_buf(ngx_connection_t *c);
+ngx_chain_t *ngx_quic_alloc_chain(ngx_connection_t *c);
ngx_chain_t *ngx_quic_copy_buf(ngx_connection_t *c, u_char *data,
size_t len);
ngx_chain_t *ngx_quic_copy_chain(ngx_connection_t *c, ngx_chain_t *in,
size_t limit);
-void ngx_quic_trim_bufs(ngx_chain_t *in, size_t size);
-void ngx_quic_free_bufs(ngx_connection_t *c, ngx_chain_t *in);
+void ngx_quic_trim_chain(ngx_chain_t *in, size_t size);
+void ngx_quic_free_chain(ngx_connection_t *c, ngx_chain_t *in);
ngx_chain_t *ngx_quic_read_chain(ngx_connection_t *c, ngx_chain_t **chain,
off_t limit);
ngx_chain_t *ngx_quic_write_chain(ngx_connection_t *c, ngx_chain_t **chain,