|
@@ -76,7 +76,7 @@ MOCK_DECL(char *,
|
|
|
#define get_datadir_fname_suffix(sub1, suffix) \
|
|
|
get_datadir_fname2_suffix((sub1), NULL, (suffix))
|
|
|
|
|
|
-inline int is_default_dir_authorities(const or_options_t *options);
|
|
|
+int using_default_dir_authorities(const or_options_t *options);
|
|
|
|
|
|
int check_or_create_data_subdir(const char *subdir);
|
|
|
int write_to_data_subdir(const char* subdir, const char* fname,
|
|
@@ -149,14 +149,6 @@ smartlist_t *get_options_from_transport_options_line(const char *line,
|
|
|
const char *transport);
|
|
|
smartlist_t *get_options_for_server_transport(const char *transport);
|
|
|
|
|
|
-/* Check if we are using default authorities */
|
|
|
-inline int
|
|
|
-is_default_dir_authorities(const or_options_t *options)
|
|
|
-{
|
|
|
- return (!options->DirAuthorities &&
|
|
|
- !options->AlternateDirAuthority) ? 1 : 0;
|
|
|
-}
|
|
|
-
|
|
|
#ifdef CONFIG_PRIVATE
|
|
|
|
|
|
#define CL_PORT_NO_STREAM_OPTIONS (1u<<0)
|