]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Note module-local functions in ext_orport.h
authorNick Mathewson <nickm@torproject.org>
Wed, 19 Feb 2020 17:12:00 +0000 (12:12 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 19 Feb 2020 17:12:00 +0000 (12:12 -0500)
Since these are only used inside the feature/relay module, they
don't need stubs.

src/feature/relay/ext_orport.h

index b09fe3b570fca8fc5e244f441f0c268a65b04105..416c358397128c1e0ecb2791323e766a43f6d47c 100644 (file)
@@ -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) */