mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 10:36:55 +00:00
CLEANUP: quic: Rename several <buf> variables in quic_frame.(c|h)
Most of the function in quic_frame.c and quic_frame.h manipulate <buf> buffer position variables which have nothing to see with struct buffer variables. Rename them to <pos> Should be backported to 2.7.
This commit is contained in:
parent
d19a02a40e
commit
1bc6e318f0
@ -32,12 +32,12 @@
|
||||
|
||||
const char *quic_frame_type_string(enum quic_frame_type ft);
|
||||
|
||||
int qc_build_frm(unsigned char **buf, const unsigned char *end,
|
||||
int qc_build_frm(unsigned char **pos, const unsigned char *end,
|
||||
struct quic_frame *frm, struct quic_tx_packet *pkt,
|
||||
struct quic_conn *conn);
|
||||
|
||||
int qc_parse_frm(struct quic_frame *frm, struct quic_rx_packet *pkt,
|
||||
const unsigned char **buf, const unsigned char *end,
|
||||
const unsigned char **pos, const unsigned char *end,
|
||||
struct quic_conn *conn);
|
||||
|
||||
/* Return the length of <frm> frame if succeeded, -1 if not (unknown frames
|
||||
|
555
src/quic_frame.c
555
src/quic_frame.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user