aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-19 12:12:00 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-19 12:12:00 -0500
commit9b21a5d2549bb1ef1ee8f3c8cc92b33ff411ce36 (patch)
tree964862257ed1bfdc6010afcc9ebb84c0ab106cde /src
parentdf6191f620f92ce2196955a240c45da63c074fee (diff)
downloadtor-9b21a5d2549bb1ef1ee8f3c8cc92b33ff411ce36.tar.gz
tor-9b21a5d2549bb1ef1ee8f3c8cc92b33ff411ce36.zip
Note module-local functions in ext_orport.h
Since these are only used inside the feature/relay module, they don't need stubs.
Diffstat (limited to 'src')
-rw-r--r--src/feature/relay/ext_orport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/relay/ext_orport.h b/src/feature/relay/ext_orport.h
index b09fe3b570..416c358397 100644
--- a/src/feature/relay/ext_orport.h
+++ b/src/feature/relay/ext_orport.h
@@ -40,9 +40,10 @@ void connection_or_remove_from_ext_or_id_map(or_connection_t *conn);
void connection_or_clear_ext_or_id_map(void);
int connection_ext_or_finished_flushing(or_connection_t *conn);
int connection_ext_or_process_inbuf(or_connection_t *or_conn);
+char *get_ext_or_auth_cookie_file_name(void);
+/* (No stub needed for these: they are only called within feature/relay.) */
int init_ext_or_cookie_authentication(int is_enabled);
-char *get_ext_or_auth_cookie_file_name(void);
void ext_orport_free_all(void);
#else /* !defined(HAVE_MODULE_RELAY) */