diff --git a/include/common/base64.h b/include/haproxy/base64.h similarity index 75% rename from include/common/base64.h rename to include/haproxy/base64.h index e53a3528b..d7dec58cd 100644 --- a/include/common/base64.h +++ b/include/haproxy/base64.h @@ -1,8 +1,8 @@ /* - * include/common/base64.h + * include/haproxy/base64.h * Ascii to Base64 conversion as described in RFC1421. * - * Copyright 2006-2010 Willy Tarreau + * Copyright 2006-2020 Willy Tarreau * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -11,10 +11,10 @@ * */ -#ifndef _COMMON_BASE64_H -#define _COMMON_BASE64_H +#ifndef _HAPROXY_BASE64_H +#define _HAPROXY_BASE64_H -#include +#include int a2base64(char *in, int ilen, char *out, int olen); int base64dec(const char *in, size_t ilen, char *out, size_t olen); @@ -23,4 +23,4 @@ int b64tos30(const char *in); extern const char base64tab[]; -#endif /* _COMMON_BASE64_H */ +#endif /* _HAPROXY_BASE64_H */ diff --git a/include/common/errors.h b/include/haproxy/errors.h similarity index 94% rename from include/common/errors.h rename to include/haproxy/errors.h index e6b658b1f..6277701de 100644 --- a/include/common/errors.h +++ b/include/haproxy/errors.h @@ -1,8 +1,8 @@ /* - * include/common/errors.h + * include/haproxy/errors.h * Global error macros and constants * - * Copyright (C) 2000-2010 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,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _COMMON_ERRORS_H -#define _COMMON_ERRORS_H +#ifndef _HAPROXY_ERRORS_H +#define _HAPROXY_ERRORS_H /* These flags may be used in various functions which are called from within * loops (eg: to start all listeners from all proxies). They provide enough @@ -56,7 +56,7 @@ enum { PE_ARG_NOT_FOUND, /* argument references something not found */ }; -#endif /* _COMMON_ERRORS_H */ +#endif /* _HAPROXY_ERRORS_H */ /* * Local variables: diff --git a/include/common/hash.h b/include/haproxy/hash.h similarity index 86% rename from include/common/hash.h rename to include/haproxy/hash.h index c17f8c9ff..cb506c7cf 100644 --- a/include/common/hash.h +++ b/include/haproxy/hash.h @@ -1,8 +1,8 @@ /* - * include/common/hash.h + * include/haproxy/hash.h * Macros for different hashing function. * - * Copyright (C) 2000-2011 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,8 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _COMMON_HASH_H_ -#define _COMMON_HASH_H_ +#ifndef _HAPROXY_HASH_H_ +#define _HAPROXY_HASH_H_ #include @@ -30,4 +30,4 @@ unsigned int hash_sdbm(const void *input, int len); unsigned int hash_crc32(const void *input, int len); uint32_t hash_crc32c(const void *input, int len); -#endif /* _COMMON_HASH_H_ */ +#endif /* _HAPROXY_HASH_H_ */ diff --git a/include/proto/stick_table.h b/include/proto/stick_table.h index 2243d3d1b..986c7755f 100644 --- a/include/proto/stick_table.h +++ b/include/proto/stick_table.h @@ -23,7 +23,7 @@ #ifndef _PROTO_STICK_TABLE_H #define _PROTO_STICK_TABLE_H -#include +#include #include #include #include diff --git a/src/51d.c b/src/51d.c index 13997e348..ceef3559a 100644 --- a/src/51d.c +++ b/src/51d.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/auth.c b/src/auth.c index 2d9804433..6570ecafe 100644 --- a/src/auth.c +++ b/src/auth.c @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include diff --git a/src/backend.c b/src/backend.c index f259b3917..ece412c7c 100644 --- a/src/backend.c +++ b/src/backend.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/base64.c b/src/base64.c index 90e4fb85d..53e4d65b2 100644 --- a/src/base64.c +++ b/src/base64.c @@ -15,7 +15,7 @@ #include #include -#include +#include #define B64BASE '#' /* arbitrary chosen base value */ #define B64CMIN '+' diff --git a/src/cache.c b/src/cache.c index fac9b7d76..c4177f74f 100644 --- a/src/cache.c +++ b/src/cache.c @@ -34,7 +34,7 @@ #include -#include +#include #include #include diff --git a/src/cfgparse-ssl.c b/src/cfgparse-ssl.c index e6372fb10..3d1f676d1 100644 --- a/src/cfgparse-ssl.c +++ b/src/cfgparse-ssl.c @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include diff --git a/src/cfgparse.c b/src/cfgparse.c index 5fd288068..da76aa99e 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/cli.c b/src/cli.c index 9212651d9..13fc2049c 100644 --- a/src/cli.c +++ b/src/cli.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/connection.c b/src/connection.c index fd6a27498..a30a2dd97 100644 --- a/src/connection.c +++ b/src/connection.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/da.c b/src/da.c index 73e59db39..c783fb152 100644 --- a/src/da.c +++ b/src/da.c @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/dns.c b/src/dns.c index 92c6dda63..b11622c26 100644 --- a/src/dns.c +++ b/src/dns.c @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/fcgi-app.c b/src/fcgi-app.c index d0992283a..5b116803d 100644 --- a/src/fcgi-app.c +++ b/src/fcgi-app.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/filters.c b/src/filters.c index 9b6bd5b3e..3d7bb4562 100644 --- a/src/filters.c +++ b/src/filters.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/haproxy.c b/src/haproxy.c index 2351aed33..d2bb0de64 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -81,10 +81,10 @@ #include #include -#include +#include #include #include -#include +#include #include #include #include diff --git a/src/hash.c b/src/hash.c index 8984ef36d..a20b90cc0 100644 --- a/src/hash.c +++ b/src/hash.c @@ -14,7 +14,7 @@ */ -#include +#include unsigned int hash_wt6(const void *input, int len) diff --git a/src/http_ana.c b/src/http_ana.c index bd2db1fe7..4635c38e1 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -11,7 +11,7 @@ */ #include -#include +#include #include #include #include diff --git a/src/http_fetch.c b/src/http_fetch.c index 0ea509c41..5d7ae8828 100644 --- a/src/http_fetch.c +++ b/src/http_fetch.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/listener.c b/src/listener.c index ab9f84b56..a1b6ae455 100644 --- a/src/listener.c +++ b/src/listener.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/mworker-prog.c b/src/mworker-prog.c index f445c7fa6..4951063d5 100644 --- a/src/mworker-prog.c +++ b/src/mworker-prog.c @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include diff --git a/src/namespace.c b/src/namespace.c index a6d208082..6165994ec 100644 --- a/src/namespace.c +++ b/src/namespace.c @@ -12,8 +12,8 @@ #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/proto_sockpair.c b/src/proto_sockpair.c index 8a0773c5b..ff642f26d 100644 --- a/src/proto_sockpair.c +++ b/src/proto_sockpair.c @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/proto_tcp.c b/src/proto_tcp.c index f1e65c5f6..063f4b363 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/proto_uxst.c b/src/proto_uxst.c index e9b85dd88..5fc976a63 100644 --- a/src/proto_uxst.c +++ b/src/proto_uxst.c @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/protocol.c b/src/protocol.c index 6c4341e34..3a11bddf6 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include diff --git a/src/proxy.c b/src/proxy.c index a62df4d0f..b5bc5ae9d 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include diff --git a/src/sample.c b/src/sample.c index e4841fd9c..0715e1468 100644 --- a/src/sample.c +++ b/src/sample.c @@ -20,12 +20,12 @@ #include #include -#include +#include #include #include #include #include -#include +#include #include #include diff --git a/src/server.c b/src/server.c index 9d6e7a6a0..791747c31 100644 --- a/src/server.c +++ b/src/server.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index 4a5f1c115..9011df9bc 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -21,8 +21,8 @@ #include #include -#include -#include +#include +#include #include #include diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c index 38cffc805..1d77362f4 100644 --- a/src/ssl_crtlist.c +++ b/src/ssl_crtlist.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include #include diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 79e81d7ba..39e4f22d2 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -47,12 +47,12 @@ #include #include #include -#include +#include #include #include #include #include -#include +#include #include #include diff --git a/src/stats.c b/src/stats.c index 8cb1840ea..08879256c 100644 --- a/src/stats.c +++ b/src/stats.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/uri_auth.c b/src/uri_auth.c index 06266f338..a2c142615 100644 --- a/src/uri_auth.c +++ b/src/uri_auth.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include diff --git a/src/wurfl.c b/src/wurfl.c index f5de52af5..8869461f4 100644 --- a/src/wurfl.c +++ b/src/wurfl.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include #include