aboutsummaryrefslogtreecommitdiff
path: root/src/feature/client/transports.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/client/transports.h')
-rw-r--r--src/feature/client/transports.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/feature/client/transports.h b/src/feature/client/transports.h
index 535689537c..71e7feea37 100644
--- a/src/feature/client/transports.h
+++ b/src/feature/client/transports.h
@@ -114,11 +114,19 @@ typedef struct {
/* transports to-be-launched by this proxy */
smartlist_t *transports_to_launch;
+ /** Version as set by STATUS TYPE=version messages. */
+ char *version;
+
+ /** Implementation as set by the STATUS TYPE=version messages. */
+ char *implementation;
+
/* The 'transports' list contains all the transports this proxy has
launched. */
smartlist_t *transports;
} managed_proxy_t;
+struct config_line_t;
+
STATIC transport_t *transport_new(const tor_addr_t *addr, uint16_t port,
const char *name, int socks_ver,
const char *extra_info_args);
@@ -131,6 +139,8 @@ STATIC void parse_proxy_error(const char *line);
STATIC void handle_proxy_line(const char *line, managed_proxy_t *mp);
STATIC void parse_log_line(const char *line, managed_proxy_t *mp);
STATIC void parse_status_line(const char *line, managed_proxy_t *mp);
+STATIC void handle_status_message(const struct config_line_t *values,
+ managed_proxy_t *mp);
STATIC char *get_transport_options_for_server_proxy(const managed_proxy_t *mp);
STATIC void managed_proxy_destroy(managed_proxy_t *mp,