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.
diff --git a/include/types/action.h b/include/types/action.h
index 00c37fa..a102b2b 100644
--- a/include/types/action.h
+++ b/include/types/action.h
@@ -22,7 +22,7 @@
#ifndef _TYPES_ACTION_H
#define _TYPES_ACTION_H
-#include <common/regex.h>
+#include <haproxy/regex-t.h>
#include <types/applet.h>
#include <types/stick_table.h>
diff --git a/include/types/checks.h b/include/types/checks.h
index 243a1ef..075e902 100644
--- a/include/types/checks.h
+++ b/include/types/checks.h
@@ -18,7 +18,7 @@
#include <import/ist.h>
#include <haproxy/list-t.h>
-#include <common/regex.h>
+#include <haproxy/regex-t.h>
#include <haproxy/buf-t.h>
#include <types/connection.h>
diff --git a/include/types/fcgi-app.h b/include/types/fcgi-app.h
index c88dda3..72219e9 100644
--- a/include/types/fcgi-app.h
+++ b/include/types/fcgi-app.h
@@ -26,7 +26,7 @@
#include <import/ist.h>
#include <common/fcgi.h>
#include <haproxy/list-t.h>
-#include <common/regex.h>
+#include <haproxy/regex-t.h>
#include <import/ebistree.h>
diff --git a/include/types/hlua.h b/include/types/hlua.h
index 28ed9bd..10a3303 100644
--- a/include/types/hlua.h
+++ b/include/types/hlua.h
@@ -6,7 +6,7 @@
#include <lua.h>
#include <lauxlib.h>
-#include <common/regex.h>
+#include <haproxy/regex-t.h>
#include <common/xref.h>
#include <types/http_ana.h>
diff --git a/include/types/pattern.h b/include/types/pattern.h
index aa3ab24..0baf3d7 100644
--- a/include/types/pattern.h
+++ b/include/types/pattern.h
@@ -24,7 +24,7 @@
#include <haproxy/api-t.h>
#include <haproxy/list-t.h>
-#include <common/regex.h>
+#include <haproxy/regex-t.h>
#include <types/sample.h>
diff --git a/include/types/peers.h b/include/types/peers.h
index 4bd0680..8961d7e 100644
--- a/include/types/peers.h
+++ b/include/types/peers.h
@@ -29,7 +29,6 @@
#include <haproxy/api-t.h>
#include <haproxy/list-t.h>
-#include <common/regex.h>
#include <import/eb32tree.h>
#include <types/dict.h>
diff --git a/include/types/proxy.h b/include/types/proxy.h
index 4e095ef..2e6a26c 100644
--- a/include/types/proxy.h
+++ b/include/types/proxy.h
@@ -31,7 +31,6 @@
#include <haproxy/chunk.h>
#include <common/http.h>
#include <haproxy/list-t.h>
-#include <common/regex.h>
#include <haproxy/thread.h>
#include <import/eb32tree.h>