]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: add a few functions to report the data and xprt layers' names
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Nov 2016 17:00:08 +0000 (18:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 15:49:40 +0000 (16:49 +0100)
commit2dc770c64112827fdcb63f4997c2889d6544c4b3
tree2e330728d5245cd4537c4717e0a24f4ad90d1a76
parent2b5e6315a3bf9365d20e3f9e503ba914fc514eeb
MINOR: connection: add a few functions to report the data and xprt layers' names

These functions will be needed by "show sess" on the CLI, let's make them
globally available. It's important to note that due to the fact that we
still do not set the data and transport layers' names in the structures,
we still have to rely on some exports just to match the pointers. This is
ugly but is preferable to adding many includes since the short-term goal
is to get rid of these tests by having proper names in place.
include/proto/connection.h