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

include/haproxy/proto_udp-t.h [moved from include/types/proto_udp.h with 92% similarity]
include/haproxy/proto_udp.h [moved from include/proto/proto_udp.h with 87% similarity]
include/types/dns.h
src/checks.c
src/dns.c
src/proto_udp.c
src/tools.c

similarity index 92%
rename from include/types/proto_udp.h
rename to include/haproxy/proto_udp-t.h
index 2604418596b0ea379cd4b6da84421410a1b56f4a..04f8708b51af1a0d35021ddbc06162bd1c0f5663 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/types/proto_udp.h
+ * include/haproxy/proto_udp-t.h
  * This file provides structures and types for UDP protocol.
  *
  * Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _TYPES_PROTO_UDP_H
-#define _TYPES_PROTO_UDP_H
+#ifndef _HAPROXY_HAPROXY_UDP_T_H
+#define _HAPROXY_HAPROXY_UDP_T_H
 
 #include <arpa/inet.h>
 
@@ -49,4 +49,4 @@ struct dgram_data_cb {
        void (*send)(struct dgram_conn *dgram); /* send callback */
 };
 
-#endif /* _TYPES_PROTO_UDP_H */
+#endif /* _HAPROXY_HAPROXY_UDP_T_H */
similarity index 87%
rename from include/proto/proto_udp.h
rename to include/haproxy/proto_udp.h
index d1f0698c63291df944f48434978877603390e6ec..9f7178c192a05ebcaa9da05914e3a9a87bf62e32 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/proto/proto_udp.h
+ * include/haproxy/proto_udp.h
  * This file provides functions related to UDP protocol.
  *
  * Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
@@ -19,9 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _PROTO_PROTO_UDP_H
-#define _PROTO_PROTO_UDP_H
+#ifndef _HAPROXY_PROTO_UDP_H
+#define _HAPROXY_PROTO_UDP_H
 
 void dgram_fd_handler(int);
 
-#endif // _PROTO_PROTO_UDP_H
+#endif // _HAPROXY_PROTO_UDP_H
index f504f5fbb25dd7b80cec8c7f5959f1eace2f0f03..8b25352e81efe7c73f850d8676c5ea249058f22c 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <types/connection.h>
 #include <types/obj_type.h>
-#include <types/proto_udp.h>
+#include <haproxy/proto_udp-t.h>
 #include <types/proxy.h>
 #include <types/server.h>
 #include <types/task.h>
index 3d3fbd118ef39fe228f119c66c0b449e41be97b6..59c176031a61f9839bb7dded08dc680358001eb7 100644 (file)
@@ -68,7 +68,7 @@
 #include <proto/vars.h>
 #include <proto/log.h>
 #include <proto/dns.h>
-#include <proto/proto_udp.h>
+#include <haproxy/proto_udp.h>
 #include <proto/ssl_sock.h>
 #include <proto/sample.h>
 
index a74bd36685c1cd3400d8ad15d08de6316347a9b1..79a7a0d4cd453a4bd0aad230502374e033ba1f5e 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -45,7 +45,7 @@
 #include <proto/sample.h>
 #include <proto/server.h>
 #include <proto/task.h>
-#include <proto/proto_udp.h>
+#include <haproxy/proto_udp.h>
 #include <proto/proxy.h>
 #include <proto/stream_interface.h>
 #include <proto/tcp_rules.h>
index a1d91760a725ab891bf0810603e4bea6d92ce600..93c03898f12b7ef6b6efd04df17c6ed68279160a 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <types/global.h>
 #include <haproxy/fd-t.h>
-#include <types/proto_udp.h>
+#include <haproxy/proto_udp-t.h>
 
 #include <haproxy/fd.h>
 
index fbec3f50cdd8e186862a48bd694cdf3408fd1807..2b947933eabacf03b6318a28f4e2962f76c5e163 100644 (file)
@@ -48,7 +48,7 @@
 #include <proto/dns.h>
 #include <proto/hlua.h>
 #include <proto/listener.h>
-#include <proto/proto_udp.h>
+#include <haproxy/proto_udp.h>
 #include <proto/ssl_sock.h>
 #include <proto/stream_interface.h>
 #include <proto/task.h>