]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: include: move sample_data out of sample-t.h
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Jun 2020 14:54:16 +0000 (16:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:59 +0000 (10:18 +0200)
commit251c2aae06a8aa6117ce7dcf2eb7a3fe02378344
treea504f28add109a647195775968c0621f18549a82
parent4f663ec0228ffc4d47422e2618b844182b30d919
CLEANUP: include: move sample_data out of sample-t.h

The struct sample_data is used by pattern, map and vars, and currently
requires to include sample-t which comes with many other dependencies.
Let's move sample_data into its own file to shorten the dependency tree.
This revealed a number of issues in adjacent files which were hidden by
the fact that sample-t.h brought everything that was missing.
include/haproxy/acl-t.h
include/haproxy/pattern-t.h
include/haproxy/pattern.h
include/haproxy/sample-t.h
include/haproxy/sample_data-t.h [new file with mode: 0644]
include/haproxy/vars-t.h