]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REORG: include: move flt_http_comp.h to haproxy/
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Jun 2020 08:57:05 +0000 (10:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:57 +0000 (10:18 +0200)
There was no type definition for this file which was moved as-is.

include/haproxy/flt_http_comp.h [moved from include/proto/flt_http_comp.h with 87% similarity]
src/filters.c

similarity index 87%
rename from include/proto/flt_http_comp.h
rename to include/haproxy/flt_http_comp.h
index 6e95f144d46f41fd2833d565d51ae337e1d3e5ed..4ba5ebbd04a5cef6eedcf5972c55400cb7e0329c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/proto/flt_http_comp.h
+ * include/haproxy/flt_http_comp.h
  * This file defines function prototypes for the compression filter.
  *
  * Copyright (C) 2015 Qualys Inc., Christopher Faulet <cfaulet@qualys.com>
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
-#ifndef _PROTO_FLT_HTTP_COMP_H
-#define _PROTO_FLT_HTTP_COMP_H
+#ifndef _HAPROXY_FLT_HTTP_COMP_H
+#define _HAPROXY_FLT_HTTP_COMP_H
 
 #include <types/proxy.h>
 
 int check_implicit_http_comp_flt(struct proxy *proxy);
 
-#endif // _PROTO_FLT_HTTP_COMP_H
+#endif // _HAPROXY_FLT_HTTP_COMP_H
index 965b54fa063e1d2ba2b63ac97b0572149ea2607a..bf9e6ed69b1029a16f7ba32570565c45a2b4d7ad 100644 (file)
@@ -14,6 +14,7 @@
 #include <haproxy/buf-t.h>
 #include <common/cfgparse.h>
 #include <haproxy/errors.h>
+#include <haproxy/flt_http_comp.h>
 #include <haproxy/http_htx.h>
 #include <haproxy/htx.h>
 #include <haproxy/namespace.h>
@@ -24,7 +25,6 @@
 
 #include <haproxy/compression.h>
 #include <proto/filters.h>
-#include <proto/flt_http_comp.h>
 #include <proto/http_ana.h>
 #include <proto/stream.h>
 #include <proto/stream_interface.h>