summaryrefslogtreecommitdiff
path: root/src/feature/relay/transport_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/relay/transport_config.h')
-rw-r--r--src/feature/relay/transport_config.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/feature/relay/transport_config.h b/src/feature/relay/transport_config.h
index d3ecc93388..fe3747f665 100644
--- a/src/feature/relay/transport_config.h
+++ b/src/feature/relay/transport_config.h
@@ -12,12 +12,12 @@
#ifndef TOR_FEATURE_RELAY_TRANSPORT_CONFIG_H
#define TOR_FEATURE_RELAY_TRANSPORT_CONFIG_H
+#include "lib/testsupport/testsupport.h"
+
typedef struct or_options_t or_options_t;
typedef struct smartlist_t smartlist_t;
char *get_transport_bindaddr_from_config(const char *transport);
-smartlist_t *get_options_from_transport_options_line(const char *line,
- const char *transport);
smartlist_t *get_options_for_server_transport(const char *transport);
int options_validate_server_transport(const or_options_t *old_options,
@@ -26,4 +26,12 @@ int options_validate_server_transport(const or_options_t *old_options,
int options_act_server_transport(const or_options_t *old_options);
+#ifdef RELAY_TRANSPORT_CONFIG_PRIVATE
+
+STATIC smartlist_t *get_options_from_transport_options_line(
+ const char *line,
+ const char *transport);
+
+#endif
+
#endif /* !defined(TOR_FEATURE_RELAY_TRANSPORT_CONFIG_H) */