From: Willy Tarreau Date: Tue, 2 Jun 2020 17:33:08 +0000 (+0200) Subject: REORG: include: move common/h1.h to haproxy/h1.h X-Git-Tag: v2.2-dev9~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5413a87ad35a6727520f3bdcd082c8665f1908d0;p=thirdparty%2Fhaproxy.git REORG: include: move common/h1.h to haproxy/h1.h The file was moved as-is. There was a wrong dependency on dynbuf.h instead of buf.h which was addressed. There was no benefit to splitting this between types and functions. --- diff --git a/include/common/h1.h b/include/haproxy/h1.h similarity index 98% rename from include/common/h1.h rename to include/haproxy/h1.h index 879e041d07..6ac1f61fde 100644 --- a/include/common/h1.h +++ b/include/haproxy/h1.h @@ -1,8 +1,8 @@ /* - * include/common/h1.h + * include/haproxy/h1.h * This file contains HTTP/1 protocol definitions. * - * Copyright (C) 2000-2017 Willy Tarreau - w@1wt.eu + * Copyright (C) 2000-2020 Willy Tarreau - w@1wt.eu * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,15 +19,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _COMMON_H1_H -#define _COMMON_H1_H +#ifndef _HAPROXY_H1_H +#define _HAPROXY_H1_H +#include #include -#include -#include +#include #include #include -#include +#include /* Possible states while parsing HTTP/1 messages (request|response) */ @@ -356,4 +356,4 @@ static inline struct h1m *h1m_init_res(struct h1m *h1m) return h1m; } -#endif /* _COMMON_H1_H */ +#endif /* _HAPROXY_H1_H */ diff --git a/include/proto/h1_htx.h b/include/proto/h1_htx.h index 02b9bdca7b..aa2c1f9a21 100644 --- a/include/proto/h1_htx.h +++ b/include/proto/h1_htx.h @@ -25,7 +25,7 @@ #include #include -#include +#include int h1_parse_msg_hdrs(struct h1m *h1m, union h1_sl *h1sl, struct htx *dsthtx, struct buffer *srcbuf, size_t ofs, size_t max); diff --git a/src/checks.c b/src/checks.c index b0d677621e..6f409e3aa0 100644 --- a/src/checks.c +++ b/src/checks.c @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/h1.c b/src/h1.c index f143db9c3b..9ac575b7d6 100644 --- a/src/h1.c +++ b/src/h1.c @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include diff --git a/src/h1_htx.c b/src/h1_htx.c index 83ebfb1a15..69472a6129 100644 --- a/src/h1_htx.c +++ b/src/h1_htx.c @@ -12,7 +12,7 @@ #include #include -#include +#include #include #include diff --git a/src/hlua.c b/src/hlua.c index 0a3362a30e..d73abec4f9 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/http_fetch.c b/src/http_fetch.c index 2d99642821..3f30797f55 100644 --- a/src/http_fetch.c +++ b/src/http_fetch.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/http_htx.c b/src/http_htx.c index ede8a0ea21..d410f03a9d 100644 --- a/src/http_htx.c +++ b/src/http_htx.c @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c index 364e5cf477..f58609ec63 100644 --- a/src/mux_fcgi.c +++ b/src/mux_fcgi.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/mux_h1.c b/src/mux_h1.c index 963ed16afb..09bf87142a 100644 --- a/src/mux_h1.c +++ b/src/mux_h1.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/mux_h2.c b/src/mux_h2.c index fb4997c8b8..d672f997b2 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include #include