aboutsummaryrefslogtreecommitdiff
path: root/src/core/proto/proto_haproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/proto/proto_haproxy.h')
-rw-r--r--src/core/proto/proto_haproxy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/proto/proto_haproxy.h b/src/core/proto/proto_haproxy.h
new file mode 100644
index 0000000000..63c164e1a1
--- /dev/null
+++ b/src/core/proto/proto_haproxy.h
@@ -0,0 +1,12 @@
+/* Copyright (c) 2019-2020, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef TOR_PROTO_HAPROXY_H
+#define TOR_PROTO_HAPROXY_H
+
+struct tor_addr_port_t;
+
+char *haproxy_format_proxy_header_line(
+ const struct tor_addr_port_t *addr_port);
+
+#endif /* !defined(TOR_PROTO_HAPROXY_H) */