mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
6ba4b5e5da
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
directory_must_use_begindir dirclient_must_use_begindir \
directory_fetches_from_authorities dirclient_fetches_from_authorities \
directory_fetches_dir_info_early dirclient_fetches_dir_info_early \
directory_fetches_dir_info_later dirclient_fetches_dir_info_later \
directory_too_idle_to_fetch_descriptors dirclient_too_idle_to_fetch_descriptors
25 lines
943 B
C
25 lines
943 B
C
/* Copyright (c) 2001 Matej Pfajfar.
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
* Copyright (c) 2007-2020, The Tor Project, Inc. */
|
|
/* See LICENSE for licensing information */
|
|
|
|
/**
|
|
* @file dirclient_modes.h
|
|
* @brief Header for feature/dirclient/dirclient_modes.c
|
|
**/
|
|
|
|
#ifndef TOR_FEATURE_DIRCLIENT_DIRCLIENT_MODES_H
|
|
#define TOR_FEATURE_DIRCLIENT_DIRCLIENT_MODES_H
|
|
|
|
struct or_options_t;
|
|
|
|
int dirclient_must_use_begindir(const or_options_t *options);
|
|
int dirclient_fetches_from_authorities(const struct or_options_t *options);
|
|
int dirclient_fetches_dir_info_early(const struct or_options_t *options);
|
|
int dirclient_fetches_dir_info_later(const struct or_options_t *options);
|
|
int dirclient_too_idle_to_fetch_descriptors(const struct or_options_t *options,
|
|
time_t now);
|
|
|
|
#endif /* !defined(TOR_FEATURE_DIRCLIENT_DIRCLIENT_MODES_H) */
|