#include <haproxy/stream.h>
#include <haproxy/xprt_quic-t.h>
-struct qcs *qcc_open_stream_local(struct qcc *qcc, int bidi);
+struct qcs *qcc_init_stream_local(struct qcc *qcc, int bidi);
struct buffer *qc_get_buf(struct qcs *qcs, struct buffer *bptr);
int qcs_subscribe(struct qcs *qcs, int event_type, struct wait_event *es);
struct h3c *h3c = ctx;
struct qcs *qcs;
- qcs = qcc_open_stream_local(h3c->qcc, 0);
+ qcs = qcc_init_stream_local(h3c->qcc, 0);
if (!qcs)
return 0;
*
* Returns the allocated stream instance or NULL on error.
*/
-struct qcs *qcc_open_stream_local(struct qcc *qcc, int bidi)
+struct qcs *qcc_init_stream_local(struct qcc *qcc, int bidi)
{
struct qcs *qcs;
enum qcs_type type;
*
* Returns the allocated stream instance or NULL on error.
*/
-static struct qcs *qcc_open_stream_remote(struct qcc *qcc, uint64_t id)
+static struct qcs *qcc_init_stream_remote(struct qcc *qcc, uint64_t id)
{
struct qcs *qcs = NULL;
enum qcs_type type;
}
else {
/* Remote stream not found - try to open it. */
- qcs = qcc_open_stream_remote(qcc, id);
+ qcs = qcc_init_stream_remote(qcc, id);
}
out: