From c8b4ce4a475b87f357693078e6977b733079e355 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Tue, 11 Jan 2022 11:54:59 +0100 Subject: [PATCH] MINOR: quic: add config parse source file Create a new dedicated source file for QUIC related options parsing on the bind line. --- Makefile | 2 +- src/cfgparse-quic.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/cfgparse-quic.c diff --git a/Makefile b/Makefile index 58c740a42..0bf04f4ec 100644 --- a/Makefile +++ b/Makefile @@ -596,7 +596,7 @@ ifneq ($(USE_QUIC),) OPTIONS_OBJS += src/quic_sock.o src/proto_quic.o src/xprt_quic.o src/quic_tls.o \ src/quic_frame.o src/quic_cc.o src/quic_cc_newreno.o src/mux_quic.o \ src/cbuf.o src/qpack-dec.o src/qpack-tbl.o src/h3.o src/qpack-enc.o \ - src/hq_interop.o + src/hq_interop.o src/cfgparse-quic.o endif ifneq ($(USE_LUA),) diff --git a/src/cfgparse-quic.c b/src/cfgparse-quic.c new file mode 100644 index 000000000..34ec72916 --- /dev/null +++ b/src/cfgparse-quic.c @@ -0,0 +1,9 @@ +#include +#include +#include + +static struct bind_kw_list bind_kws = { "QUIC", { }, { + { NULL, NULL, 0 }, +}}; + +INITCALL1(STG_REGISTER, bind_register_keywords, &bind_kws);