MINOR: h3: add documentation on h3_decode_qcs

Specify the purpose of the fin argument on h3_decode_qcs.
This commit is contained in:
Amaury Denoyelle 2022-02-15 11:05:46 +01:00
parent ffafb3d2c2
commit a04724af29

View File

@ -93,7 +93,8 @@ static inline size_t h3_decode_frm_header(uint64_t *ftype, uint64_t *flen,
return hlen; return hlen;
} }
/* Decode <qcs> remotely initiated bidi-stream. /* Decode <qcs> remotely initiated bidi-stream. <fin> must be set to indicate
* that we received the last data of the stream.
* Returns <0 on error else 0. * Returns <0 on error else 0.
*/ */
static int h3_decode_qcs(struct qcs *qcs, int fin, void *ctx) static int h3_decode_qcs(struct qcs *qcs, int fin, void *ctx)