This patch is part of a renaming affecting mux_quic and related files.
Naming "qcm" will become the new marker for common mux_quic stuffs,
shared both on QUIC and QMux protocols. The final objective is to limit
"qmux" naming for stuffs related to the new experimental protocol of the
same name.
The current patch renames mux_quic traces token to "qcm". This is the
only change with external visible impacts in the whole renaming series.
However, to preserve compatibility, trace source alias is defined with
the older name "qmux". This relies on the previous patch which
introduced "alias" new trace_source member.
trace applet verbosity complete start now
trace h3 start now
trace quic start now
- trace qmux start now
+ trace qcm start now
trace peers start now
.endif
"\ttrace h1 sink stderr level user start now verbosity minimal\n"
"\ttrace h2 sink stderr level user start now verbosity minimal\n"
"\ttrace h3 sink stderr level user start now verbosity minimal\n"
- "\ttrace qmux sink stderr level user start now verbosity minimal\n";
+ "\ttrace qcm sink stderr level user start now verbosity minimal\n";
/* Very small API similar to buffer API to carefully build some strings */
#define HBUF_NULL ((struct hbuf) { })
};
struct trace_source trace_qcm = {
- .name = IST("qmux"),
+ .name = IST("qcm"),
+ .alias = IST("qmux"),
.desc = "QUIC multiplexer",
.arg_def = TRC_ARG1_CONN, /* TRACE()'s first argument is always a connection */
.default_cb = qcm_trace,
}
-/* register qmux traces */
+/* register qcm traces */
INITCALL1(STG_REGISTER, trace_register_source, TRACE_SOURCE);
static char *qcc_app_st_to_str(const enum qcc_app_st st)