Tor  0.4.7.0-alpha-dev
dirclient_modes.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * @file dirclient_modes.h
9  * @brief Header for feature/dirclient/dirclient_modes.c
10  **/
11 
12 #ifndef TOR_FEATURE_DIRCLIENT_DIRCLIENT_MODES_H
13 #define TOR_FEATURE_DIRCLIENT_DIRCLIENT_MODES_H
14 
15 struct or_options_t;
16 
17 int dirclient_must_use_begindir(const or_options_t *options);
18 int dirclient_fetches_from_authorities(const struct or_options_t *options);
19 int dirclient_fetches_dir_info_early(const struct or_options_t *options);
20 int dirclient_fetches_dir_info_later(const struct or_options_t *options);
22  time_t now);
23 
24 #endif /* !defined(TOR_FEATURE_DIRCLIENT_DIRCLIENT_MODES_H) */
int dirclient_fetches_dir_info_later(const or_options_t *options)
int dirclient_fetches_dir_info_early(const or_options_t *options)
int dirclient_too_idle_to_fetch_descriptors(const or_options_t *options, time_t now)
int dirclient_fetches_from_authorities(const or_options_t *options)