]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stconn: export sc_new()
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 19 Mar 2026 13:55:04 +0000 (14:55 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 22 May 2026 09:07:11 +0000 (11:07 +0200)
commit4302d02cb578ab1645965222eb6f442d71e0aa8e
tree195e7abae8976f689e0f1e627c736f2884ffd4dd
parentafca62e663c8975d9a9a3e248fea787ab117daf2
MINOR: stconn: export sc_new()

This patch exports sc_new() by removing its static storage class and
adding its prototype to include/haproxy/stconn.h.

This is required to allow external modules, such as the upcoming haload
benchmarking tool, to allocate and initialize new stream connectors
from a stream endpoint descriptor (sedesc).
include/haproxy/stconn.h
src/stconn.c