REORG: include: move compression.h to haproxy/compression{,-t}.h

No change was needed.
This commit is contained in:
Willy Tarreau 2020-06-04 08:52:38 +02:00
parent f07f30c15f
commit 0a3bd3919e
10 changed files with 18 additions and 19 deletions

View 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>

View 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:

View 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>
@ -20,10 +20,10 @@
* 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:

View 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

View 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>

View File

@ -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>

View File

@ -33,10 +33,10 @@
#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>

View 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>

View 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>
@ -18,12 +19,10 @@
#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>

View 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>