The files were moved as-is.
/*
- * include/types/dns.h
+ * include/haproxy/dns-t.h
* This file provides structures and types for DNS.
*
* Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _TYPES_DNS_H
-#define _TYPES_DNS_H
+#ifndef _HAPROXY_DNS_T_H
+#define _HAPROXY_DNS_T_H
#include <import/eb32tree.h>
struct list list; /* Next SRV RQ for the same proxy */
};
-#endif /* _TYPES_DNS_H */
+#endif /* _HAPROXY_DNS_T_H */
/*
- * include/proto/dns.h
+ * include/haproxy/dns.h
* This file provides functions related to DNS protocol
*
* Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _PROTO_DNS_H
-#define _PROTO_DNS_H
+#ifndef _HAPROXY_DNS_H
+#define _HAPROXY_DNS_H
#include <haproxy/action-t.h>
-#include <types/dns.h>
+#include <haproxy/dns-t.h>
extern struct list dns_resolvers;
extern unsigned int dns_failed_resolutions;
int check_action_do_resolve(struct act_rule *rule, struct proxy *px, char **err);
-#endif // _PROTO_DNS_H
+#endif // _HAPROXY_DNS_H
#include <unistd.h>
#include <haproxy/api.h>
+#include <haproxy/dns-t.h>
#include <haproxy/time.h>
#include <types/applet.h>
-#include <types/dns.h>
#include <types/proxy.h>
#include <types/queue.h>
#include <types/server.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <haproxy/dns-t.h>
#include <haproxy/api-t.h>
#include <haproxy/list-t.h>
#include <haproxy/thread.h>
#include <types/connection.h>
#include <types/counters.h>
-#include <types/dns.h>
#include <haproxy/freq_ctr-t.h>
#include <types/obj_type.h>
#include <types/proxy.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/errors.h>
#include <haproxy/pool.h>
#include <haproxy/tools.h>
#include <types/obj_type.h>
#include <types/peers.h>
#include <types/mailers.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/acl.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/checks.h>
-#include <proto/dns.h>
#include <proto/stats.h>
#include <proto/filters.h>
#include <proto/frontend.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/istbuf.h>
#include <haproxy/list.h>
#include <haproxy/regex.h>
#include <haproxy/htx.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <haproxy/arg.h>
#include <proto/task.h>
#include <proto/vars.h>
#include <proto/log.h>
-#include <proto/dns.h>
#include <haproxy/proto_udp.h>
#include <proto/ssl_sock.h>
#include <proto/sample.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
+#include <haproxy/dns-t.h>
#include <haproxy/list.h>
#include <haproxy/tools.h>
#include <haproxy/ticks.h>
#include <types/applet.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <haproxy/activity.h>
#include <haproxy/action.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
+#include <haproxy/dns.h>
#include <haproxy/errors.h>
#include <haproxy/time.h>
#include <haproxy/ticks.h>
#include <types/applet.h>
#include <types/cli.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/channel.h>
#include <proto/cli.h>
#include <proto/checks.h>
-#include <proto/dns.h>
#include <haproxy/fd.h>
#include <proto/http_ana.h>
#include <proto/http_rules.h>
#include <haproxy/base64.h>
#include <common/cfgparse.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/dynbuf.h>
#include <haproxy/errors.h>
#include <haproxy/hlua.h>
#include <proto/stream.h>
#include <proto/signal.h>
#include <proto/task.h>
-#include <proto/dns.h>
#include <proto/vars.h>
#include <proto/ssl_sock.h>
#include <common/cfgparse.h>
#include <haproxy/dict-t.h>
+#include <haproxy/dns.h>
#include <haproxy/errors.h>
#include <haproxy/namespace.h>
#include <haproxy/time.h>
#include <types/cli.h>
#include <types/global.h>
#include <types/cli.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/applet.h>
#include <proto/stream_interface.h>
#include <proto/stats.h>
#include <proto/task.h>
-#include <proto/dns.h>
#include <netinet/tcp.h>
#include <import/ebsttree.h>
#include <common/cfgparse.h>
#include <haproxy/compression.h>
#include <haproxy/debug.h>
+#include <haproxy/dns.h>
#include <haproxy/http.h>
#include <haproxy/http_htx.h>
#include <haproxy/htx.h>
#include <types/applet.h>
#include <types/cli.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/checks.h>
#include <proto/cli.h>
-#include <proto/dns.h>
#include <proto/stats.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/dict.h>
+#include <haproxy/dns.h>
#include <haproxy/dynbuf.h>
#include <haproxy/hlua.h>
#include <haproxy/istbuf.h>
#include <proto/checks.h>
#include <proto/cli.h>
#include <proto/connection.h>
-#include <proto/dns.h>
#include <proto/stats.h>
#include <haproxy/fd.h>
#include <proto/filters.h>
#include <haproxy/api.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/hlua.h>
#include <haproxy/namespace.h>
#include <haproxy/tools.h>
#include <types/global.h>
#include <proto/applet.h>
-#include <proto/dns.h>
#include <proto/listener.h>
#include <haproxy/proto_udp.h>
#include <proto/ssl_sock.h>