]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REORG: include: move compression.h to haproxy/compression{,-t}.h
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Jun 2020 06:52:38 +0000 (08:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:57 +0000 (10:18 +0200)
No change was needed.

contrib/prometheus-exporter/service-prometheus.c
include/haproxy/compression-t.h [moved from include/types/compression.h with 95% similarity]
include/haproxy/compression.h [moved from include/proto/compression.h with 89% similarity]
src/cfgparse-global.c
src/cfgparse-listen.c
src/cli.c
src/compression.c
src/filters.c
src/flt_http_comp.c
src/stats.c

index 65eb44da202e5a22207adcd94221dc4f4740a464..b79fab587d6274b2c12002dee8c8f35a42ef7410 100644 (file)
@@ -25,7 +25,7 @@
 #include <proto/action.h>
 #include <proto/applet.h>
 #include <proto/backend.h>
-#include <proto/compression.h>
+#include <haproxy/compression.h>
 #include <proto/frontend.h>
 #include <proto/listener.h>
 #include <proto/http_htx.h>
similarity index 95%
rename from include/types/compression.h
rename to include/haproxy/compression-t.h
index 16049099924abb5853e1a5bb61061d6b02cce8fc..1dbf6e11ac9688394a03f4cb2ccaf159a86293f0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/types/compression.h
+ * include/haproxy/compression-t.h
  * This file defines everything related to compression.
  *
  * Copyright 2012 Exceliance, David Du Colombier <dducolombier@exceliance.fr>
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _TYPES_COMP_H
-#define _TYPES_COMP_H
+#ifndef _HAPROXY_COMP_T_H
+#define _HAPROXY_COMP_T_H
 
 #if defined(USE_SLZ)
 #ifdef USE_ZLIB
@@ -85,7 +85,7 @@ struct comp_type {
 };
 
 
-#endif /* _TYPES_COMP_H */
+#endif /* _HAPROXY_COMP_T_H */
 
 /*
  * Local variables:
similarity index 89%
rename from include/proto/compression.h
rename to include/haproxy/compression.h
index 7b60472c70a145111283a3cde256287b53f0efa7..ba2bdab7cc0654db0ae1a12df1b5d260167ff33a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/proto/compression.h
+ * include/haproxy/compression.h
  * This file defines function prototypes for compression.
  *
  * Copyright 2012 (C) Exceliance, David Du Colombier <dducolombier@exceliance.fr>
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _PROTO_COMP_H
-#define _PROTO_COMP_H
+#ifndef _HAPROXY_COMP_H
+#define _HAPROXY_COMP_H
 
-#include <types/compression.h>
+#include <haproxy/compression-t.h>
 
 extern unsigned int compress_min_idle;
 
@@ -34,7 +34,7 @@ int comp_append_algo(struct comp *comp, const char *algo);
 extern long zlib_used_memory;
 #endif /* USE_ZLIB */
 
-#endif /* _PROTO_COMP_H */
+#endif /* _HAPROXY_COMP_H */
 
 /*
  * Local variables:
index 2b3249758e8ddcc7a1a30fab0b8eaaab8b8fcb07..2120b635f241baebe88f6b242ec970956e4ebeeb 100644 (file)
@@ -12,7 +12,7 @@
 #include <unistd.h>
 
 #include <common/cfgparse.h>
-#include <proto/compression.h>
+#include <haproxy/compression.h>
 
 /*
  * parse a line in a <global> section. Returns the error code, 0 if OK, or
index bd3e61e741df8dab176fd486e44345b8824694cb..c9c6b7523763a582769f87590306c034c45f047a 100644 (file)
@@ -15,7 +15,7 @@
 #include <common/uri_auth.h>
 
 #include <types/capture.h>
-#include <types/compression.h>
+#include <haproxy/compression-t.h>
 #include <types/stats.h>
 
 #include <proto/acl.h>
index afb42b590cbd0b18ba3a78347b3fcdc7840ef9f3..11c8dc565acbe09163972e35f468395f58ee5d08 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -46,7 +46,7 @@
 #include <proto/channel.h>
 #include <proto/checks.h>
 #include <proto/cli.h>
-#include <proto/compression.h>
+#include <haproxy/compression.h>
 #include <proto/stats.h>
 #include <haproxy/fd.h>
 #include <haproxy/freq_ctr.h>
index f1d739e70d2a550b0ea0c9b4033b3e4f4f81f66b..77da4057a99f8f5bf1c5f165acdc7b0c1331dae3 100644 (file)
 #include <haproxy/pool.h>
 
 #include <types/global.h>
-#include <types/compression.h>
+#include <haproxy/compression-t.h>
 
 #include <proto/acl.h>
-#include <proto/compression.h>
+#include <haproxy/compression.h>
 #include <haproxy/freq_ctr.h>
 #include <proto/stream.h>
 
index 31f9f10b6156ca16a164250974a110350658caff..592b30320b117ed6e61e75d46e566f70e88d74a2 100644 (file)
@@ -21,7 +21,7 @@
 #include <types/filters.h>
 #include <types/http_ana.h>
 
-#include <proto/compression.h>
+#include <haproxy/compression.h>
 #include <proto/filters.h>
 #include <proto/flt_http_comp.h>
 #include <proto/http_htx.h>
index 462ee259583a03bbff0e86450a45a91f091d64fc..8d02fc759302e49ebe21d84d56d768c9e4910d9d 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <haproxy/api.h>
+#include <haproxy/compression.h>
 #include <haproxy/dynbuf.h>
 #include <haproxy/http.h>
 #include <common/cfgparse.h>
 #include <haproxy/list.h>
 #include <haproxy/tools.h>
 
-#include <types/compression.h>
 #include <types/filters.h>
 #include <types/proxy.h>
 #include <types/sample.h>
 
-#include <proto/compression.h>
 #include <proto/filters.h>
 #include <proto/http_htx.h>
 #include <proto/http_ana.h>
index 43654e4178c4c36e162f3cc1296655abbdac9709..21dd009c010127429214af76423cdc4b775ffbf8 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <haproxy/api.h>
 #include <common/cfgparse.h>
+#include <haproxy/compression.h>
 #include <haproxy/debug.h>
 #include <haproxy/http.h>
 #include <haproxy/htx.h>
@@ -48,7 +49,6 @@
 #include <proto/channel.h>
 #include <proto/checks.h>
 #include <proto/cli.h>
-#include <proto/compression.h>
 #include <proto/dns.h>
 #include <proto/stats.h>
 #include <haproxy/fd.h>