From: Nick Mathewson Date: Wed, 19 Feb 2020 17:12:00 +0000 (-0500) Subject: Note module-local functions in ext_orport.h X-Git-Tag: tor-0.4.5.0-alpha-dev~177^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b21a5d2549bb1ef1ee8f3c8cc92b33ff411ce36;p=thirdparty%2Ftor.git Note module-local functions in ext_orport.h Since these are only used inside the feature/relay module, they don't need stubs. --- 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) */