CLEANUP: quic/h3: rename all occurrences of stconn "cs" to "sc"
Function arguments and local variables called "cs" were renamed to "sc"
to avoid future confusion. The "nb_cs" stream-connector counter was
renamed to "nb_sc" and qc_attach_cs() was renamed to qc_attach_sc().
diff --git a/src/hq_interop.c b/src/hq_interop.c
index 972ddaf..c9ab683 100644
--- a/src/hq_interop.c
+++ b/src/hq_interop.c
@@ -14,7 +14,7 @@
struct ncbuf *rxbuf = &qcs->rx.ncbuf;
struct htx *htx;
struct htx_sl *sl;
- struct stconn *cs;
+ struct stconn *sc;
struct buffer htx_buf = BUF_NULL;
struct ist path;
char *ptr = ncb_head(rxbuf);
@@ -72,8 +72,8 @@
htx_add_endof(htx, HTX_BLK_EOH);
htx_to_buf(htx, &htx_buf);
- cs = qc_attach_cs(qcs, &htx_buf);
- if (!cs)
+ sc = qc_attach_sc(qcs, &htx_buf);
+ if (!sc)
return 1;
qcs_consume(qcs, ncb_data(rxbuf, 0));
@@ -93,10 +93,10 @@
return &qcs->tx.buf;
}
-static size_t hq_interop_snd_buf(struct stconn *cs, struct buffer *buf,
+static size_t hq_interop_snd_buf(struct stconn *sc, struct buffer *buf,
size_t count, int flags)
{
- struct qcs *qcs = __sc_mux_strm(cs);
+ struct qcs *qcs = __sc_mux_strm(sc);
struct htx *htx;
enum htx_blk_type btype;
struct htx_blk *blk;