]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stconn: make a few functions take a const argument
authorWilly Tarreau <w@1wt.eu>
Tue, 24 May 2022 07:08:33 +0000 (09:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:34 +0000 (19:33 +0200)
commit6001c9217cac5f065261cf818b835f772fcc39e7
tree5fa80aac9d318a30d19fbea3919cd22ac8e4f888
parent967955b156cc8423ac5f52282eead9ca94a0f856
CLEANUP: stconn: make a few functions take a const argument

A number of functions in cs_utils.h are not usable from functions taking
a const because they're not declared as using const, despite never
modifying the stconn. Let's address this for the following ones:

  sc_ic(), sc_oc(), sc_ib(), sc_ob(), sc_strm_task(),
  cs_opposite(), sc_conn_ready(), cs_src(), cs_dst(),
include/haproxy/cs_utils.h