This patch adds the missing include of xprt_qstrm header into its
companion source file. This helped to detect an incoherence in the
xprt_qstrm_xfer_rxbuf() prototype which is now fixed.
Header files is also updated with mandatory include statements and
forward declaration.
No backport needed.
#ifndef _HAPROXY_XPRT_QSTRM_H
#define _HAPROXY_XPRT_QSTRM_H
+#include <stddef.h>
+
+struct buffer;
+struct quic_transport_params;
+
const struct quic_transport_params *xprt_qstrm_lparams(const void *context);
const struct quic_transport_params *xprt_qstrm_rparams(const void *context);
-size_t xprt_qstrm_xfer_rxbuf(const void *context, struct buffer *out);
+size_t xprt_qstrm_xfer_rxbuf(void *context, struct buffer *out);
#endif /* _HAPROXY_XPRT_QSTRM_H */
+#include <haproxy/xprt_qstrm.h>
+
#include <haproxy/api.h>
#include <haproxy/buf.h>
#include <haproxy/connection.h>