diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-07-16 11:53:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 08:43:53 -0400 |
commit | e02b6b99f243566e1e652068af0d0b712b37914e (patch) | |
tree | 28e4031380d11b8addd2130c8c6c370a07126e72 /src/or | |
parent | dd18789a9cb5ab5d39c85e3aa4106c020265e6ce (diff) | |
download | tor-e02b6b99f243566e1e652068af0d0b712b37914e.tar.gz tor-e02b6b99f243566e1e652068af0d0b712b37914e.zip |
Add a basic unit test for pt_get_extra_info_descriptor_string.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/transports.c | 2 | ||||
-rw-r--r-- | src/or/transports.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/or/transports.c b/src/or/transports.c index 91234210b2..a600a109e8 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -1230,7 +1230,7 @@ create_managed_proxy_environment(const managed_proxy_t *mp) * <b>proxy_argv</b>. * * Requires that proxy_argv have at least one element. */ -static managed_proxy_t * +STATIC managed_proxy_t * managed_proxy_create(const smartlist_t *transport_list, char **proxy_argv, int is_server) { diff --git a/src/or/transports.h b/src/or/transports.h index 525d48ab22..54049e93d6 100644 --- a/src/or/transports.h +++ b/src/or/transports.h @@ -114,6 +114,9 @@ STATIC int parse_version(const char *line, managed_proxy_t *mp); STATIC void parse_env_error(const char *line); STATIC void handle_proxy_line(const char *line, managed_proxy_t *mp); +STATIC managed_proxy_t *managed_proxy_create(const smartlist_t *transport_list, + char **proxy_argv, int is_server); + #endif #endif |