summaryrefslogtreecommitdiff
path: root/src/or/transports.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 11:49:27 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 11:49:27 -0400
commit8c6ff9fec2ed8b1eed6a4c35370f62f1bf24a158 (patch)
tree89961c10a056b65cf1e92d785d9156c038c1defe /src/or/transports.h
parent30166261bb1e523db1199ea422c9bf09f30de69f (diff)
downloadtor-8c6ff9fec2ed8b1eed6a4c35370f62f1bf24a158.tar.gz
tor-8c6ff9fec2ed8b1eed6a4c35370f62f1bf24a158.zip
Move tor_escape_str_for_pt_args into or/transports.c
Diffstat (limited to 'src/or/transports.h')
-rw-r--r--src/or/transports.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/transports.h b/src/or/transports.h
index 0bd96e0950..d304dcd485 100644
--- a/src/or/transports.h
+++ b/src/or/transports.h
@@ -66,6 +66,9 @@ char *pt_stringify_socks_args(const smartlist_t *socks_args);
char *pt_get_socks_args_for_proxy_addrport(const tor_addr_t *addr,
uint16_t port);
+char *tor_escape_str_for_pt_args(const char *string,
+ const char *chars_to_escape);
+
#ifdef PT_PRIVATE
/** State of the managed proxy configuration protocol. */
enum pt_proto_state {