Skip to content

Commit

Permalink
MINOR: quic: Export QUIC CLI code from quic_conn.c
Browse files Browse the repository at this point in the history
To accelerate the compilation of quic_conn.c file, export the code in relation
with the QUIC CLI from quic_conn.c to quic_cli.c.
  • Loading branch information
haproxyFred committed Jul 24, 2023
1 parent b67f651 commit dc5cca0
Show file tree
Hide file tree
Showing 4 changed files with 421 additions and 395 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ OPTIONS_OBJS += src/quic_conn.o src/mux_quic.o src/h3.o src/xprt_quic.o \
src/qpack-dec.o src/hq_interop.o src/quic_stream.o \
src/h3_stats.o src/qmux_http.o src/cfgparse-quic.o \
src/cbuf.o src/quic_cc.o src/quic_cc_nocc.o \
src/quic_trace.o
src/quic_trace.o src/quic_cli.o
endif
ifneq ($(USE_QUIC_OPENSSL_COMPAT),)
Expand Down
18 changes: 18 additions & 0 deletions include/haproxy/quic_cli-t.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* include/haproxy/quic_trace-t.h
* Definitions for QUIC CLI internal types, constants and flags.
*
* Copyright (C) 2023
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
*/
#ifndef _HAPROXY_QUIC_CLI_T_H
#define _HAPROXY_QUIC_CLI_T_H

extern unsigned int qc_epoch;

#endif /* _HAPROXY_QUIC_CLI_T_H */
Loading

0 comments on commit dc5cca0

Please sign in to comment.