]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: include: move hpack*.h to haproxy/ and split hpack-tbl
authorWilly Tarreau <w@1wt.eu>
Wed, 3 Jun 2020 07:09:57 +0000 (09:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:57 +0000 (10:18 +0200)
commitbe327fa332b079a3f5935c50043f4740bb3b2e23
treef14080f508d9525a8f1a063eaed6dc2a1fbcde1d
parent16f958c0e928a10a789a480c9495304d7f4ddbff
REORG: include: move hpack*.h to haproxy/ and split hpack-tbl

The various hpack files are self-contained, but hpack-tbl was one of
those showing difficulties when pools were added because that began
to add quite some dependencies. Now when built in standalone mode,
it still uses the bare minimum pool definitions and doesn't require
to know the prototypes anymore when only the structures are needed.
Thus the files were moved verbatim except for hpack-tbl which was
split between types and prototypes.
12 files changed:
contrib/hpack/decode.c
contrib/hpack/gen-enc.c
include/haproxy/hpack-dec.h [moved from include/common/hpack-dec.h with 94% similarity]
include/haproxy/hpack-enc.h [moved from include/common/hpack-enc.h with 99% similarity]
include/haproxy/hpack-huff.h [moved from include/common/hpack-huff.h with 89% similarity]
include/haproxy/hpack-tbl-t.h [moved from include/common/hpack-tbl.h with 63% similarity]
include/haproxy/hpack-tbl.h [new file with mode: 0644]
src/hpack-dec.c
src/hpack-enc.c
src/hpack-huff.c
src/hpack-tbl.c
src/mux_h2.c