REORG: include: split mini-clist into haproxy/list and list-t.h

Half of the users of this include only need the type definitions and
not the manipulation macros nor the inline functions. Moves the various
types into mini-clist-t.h makes the files cleaner. The other one had all
its includes grouped at the top. A few files continued to reference it
without using it and were cleaned.

In addition it was about time that we'd rename that file, it's not
"mini" anymore and contains a bit more than just circular lists.
diff --git a/src/acl.c b/src/acl.c
index 5b25fce..14a0e0b 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -15,7 +15,7 @@
 #include <string.h>
 
 #include <haproxy/api.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/uri_auth.h>
 
diff --git a/src/action.c b/src/action.c
index 0854208..cb897b6 100644
--- a/src/action.c
+++ b/src/action.c
@@ -12,7 +12,7 @@
 
 #include <haproxy/api.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 
 #include <proto/action.h>
diff --git a/src/applet.c b/src/applet.c
index 5f06d6a..88be447 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -14,7 +14,7 @@
 #include <stdlib.h>
 
 #include <haproxy/api.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <proto/applet.h>
 #include <proto/channel.h>
 #include <proto/stream.h>
diff --git a/src/checks.c b/src/checks.c
index de182db..5dbbeca 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -33,7 +33,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <common/chunk.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/time.h>
 #include <common/hathreads.h>
diff --git a/src/cli.c b/src/cli.c
index a0118dc..4b9c31f 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -29,7 +29,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/ticks.h>
 #include <common/time.h>
diff --git a/src/flt_http_comp.c b/src/flt_http_comp.c
index abec6b3..9ca51e5 100644
--- a/src/flt_http_comp.c
+++ b/src/flt_http_comp.c
@@ -14,7 +14,7 @@
 #include <common/buffer.h>
 #include <common/cfgparse.h>
 #include <common/htx.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 
 #include <types/compression.h>
diff --git a/src/haproxy.c b/src/haproxy.c
index 79a28ac..a1dff0c 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -86,7 +86,7 @@
 #include <common/chunk.h>
 #include <haproxy/errors.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/namespace.h>
 #include <common/net_helper.h>
 #include <haproxy/openssl-compat.h>
diff --git a/src/listener.c b/src/listener.c
index a1b6ae4..c035ed8 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -21,7 +21,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <haproxy/errors.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/time.h>
 
diff --git a/src/memory.c b/src/memory.c
index 961a292..2caf13d 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -20,7 +20,7 @@
 #include <common/cfgparse.h>
 #include <common/hathreads.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 
 #include <types/activity.h>
diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c
index 7ff3932..87c84fb 100644
--- a/src/mux_fcgi.c
+++ b/src/mux_fcgi.c
@@ -16,7 +16,7 @@
 #include <common/h1.h>
 #include <common/htx.h>
 #include <import/ist.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/net_helper.h>
 
 #include <types/proxy.h>
diff --git a/src/mworker.c b/src/mworker.c
index 95c06bb..4b2a7af 100644
--- a/src/mworker.c
+++ b/src/mworker.c
@@ -19,7 +19,7 @@
 
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <haproxy/version.h>
 
 #include <types/cli.h>
diff --git a/src/proto_sockpair.c b/src/proto_sockpair.c
index c95d5d4..b627724 100644
--- a/src/proto_sockpair.c
+++ b/src/proto_sockpair.c
@@ -28,7 +28,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/errors.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/time.h>
 #include <haproxy/version.h>
diff --git a/src/proto_tcp.c b/src/proto_tcp.c
index 9233288..9d87515 100644
--- a/src/proto_tcp.c
+++ b/src/proto_tcp.c
@@ -32,7 +32,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/errors.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/namespace.h>
 
diff --git a/src/proto_uxst.c b/src/proto_uxst.c
index 648f3a3..ae68a8d 100644
--- a/src/proto_uxst.c
+++ b/src/proto_uxst.c
@@ -28,7 +28,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/errors.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/time.h>
 #include <haproxy/version.h>
diff --git a/src/protocol.c b/src/protocol.c
index 3a11bdd..4909ee1 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -15,7 +15,7 @@
 
 #include <haproxy/api.h>
 #include <haproxy/errors.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 
 #include <proto/protocol.h>
diff --git a/src/shctx.c b/src/shctx.c
index bfca085..113828a 100644
--- a/src/shctx.c
+++ b/src/shctx.c
@@ -15,7 +15,7 @@
 #include <arpa/inet.h>
 #include <import/ebmbtree.h>
 #include <types/global.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include "proto/shctx.h"
 
 #if !defined (USE_PRIVATE_CACHE)
diff --git a/src/sink.c b/src/sink.c
index 7eb283f..9ed75ac 100644
--- a/src/sink.c
+++ b/src/sink.c
@@ -21,7 +21,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <import/ist.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/time.h>
 #include <proto/cli.h>
 #include <proto/log.h>
diff --git a/src/stats.c b/src/stats.c
index 05dc223..e7a1e76 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -30,7 +30,7 @@
 #include <common/http.h>
 #include <common/htx.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/ticks.h>
 #include <common/time.h>
diff --git a/src/stick_table.c b/src/stick_table.c
index 37131f6..dc2ef4f 100644
--- a/src/stick_table.c
+++ b/src/stick_table.c
@@ -17,7 +17,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/net_helper.h>
 #include <common/standard.h>
 #include <common/time.h>
diff --git a/src/task.c b/src/task.c
index a116b2e..fc09787 100644
--- a/src/task.c
+++ b/src/task.c
@@ -14,7 +14,7 @@
 
 #include <haproxy/api.h>
 #include <common/memory.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/time.h>
 #include <import/eb32sctree.h>
diff --git a/src/tcp_rules.c b/src/tcp_rules.c
index 0be4ecd..1943018 100644
--- a/src/tcp_rules.c
+++ b/src/tcp_rules.c
@@ -11,7 +11,7 @@
  */
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <common/standard.h>
 #include <common/ticks.h>
 #include <common/time.h>
diff --git a/src/trace.c b/src/trace.c
index 3f6ff05..a0b9648 100644
--- a/src/trace.c
+++ b/src/trace.c
@@ -21,7 +21,7 @@
 #include <haproxy/api.h>
 #include <common/buffer.h>
 #include <import/ist.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 #include <proto/cli.h>
 #include <proto/log.h>
 #include <proto/sink.h>
diff --git a/src/vars.c b/src/vars.c
index a213657..227c94b 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -3,7 +3,7 @@
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
 #include <common/http.h>
-#include <common/mini-clist.h>
+#include <haproxy/list.h>
 
 #include <types/vars.h>