]> git.kaiwu.me - haproxy.git/commit
REORG: include: split common/regex.h into haproxy/regex{,-t}.h
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Jun 2020 15:32:26 +0000 (17:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:57 +0000 (10:18 +0200)
commit7cd8b6e3a40fe62b4ce37ccfc7e1b3327d9b07af
treee041d3099b26ecfe474347e524b11be901ccba71
parent7a00efbe439c439cf2a1187a5ece199f16d81fce
REORG: include: split common/regex.h into haproxy/regex{,-t}.h

Regex are essentially included for myregex_t but it turns out that
several of the C files didn't include it directly, relying on the
one included by their own .h. This has been cleanly addressed so
that only the type is included by H files which need it, and adding
the missing includes for the other ones.
23 files changed:
include/haproxy/regex-t.h [new file with mode: 0644]
include/haproxy/regex.h [moved from include/common/regex.h with 78% similarity]
include/proto/http_htx.h
include/types/action.h
include/types/checks.h
include/types/fcgi-app.h
include/types/hlua.h
include/types/pattern.h
include/types/peers.h
include/types/proxy.h
src/checks.c
src/fcgi-app.c
src/haproxy.c
src/hlua.c
src/hlua_fcn.c
src/http_act.c
src/http_ana.c
src/http_htx.c
src/map.c
src/mux_fcgi.c
src/pattern.c
src/regex.c
src/sample.c