|
Tor 0.4.9.8
|
Header for feature/dirauth/dirauth_config.c. More...
Go to the source code of this file.
Macros | |
| #define | options_validate_dirauth_schedule(old_options, options, msg) |
| #define | options_validate_dirauth_testing(old_options, options, msg) |
| #define | options_act_dirauth(old_options) |
| #define | options_act_dirauth_mtbf(old_options) |
| #define | dirauth_should_reject_requests_under_load() |
Functions | |
| static int | options_validate_dirauth_mode (const struct or_options_t *old_options, struct or_options_t *options, char **msg) |
| static int | options_act_dirauth_stats (const struct or_options_t *old_options, bool *print_notice_out) |
Header for feature/dirauth/dirauth_config.c.
Definition in file dirauth_config.h.
| #define dirauth_should_reject_requests_under_load | ( | void | ) |
Definition at line 87 of file dirauth_config.h.
| #define options_act_dirauth | ( | old_options | ) |
Definition at line 73 of file dirauth_config.h.
| #define options_act_dirauth_mtbf | ( | old_options | ) |
Definition at line 75 of file dirauth_config.h.
| #define options_validate_dirauth_schedule | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 68 of file dirauth_config.h.
| #define options_validate_dirauth_testing | ( | old_options, | |
| options, | |||
| msg ) |
Definition at line 70 of file dirauth_config.h.
|
inlinestatic |
Definition at line 79 of file dirauth_config.h.
|
inlinestatic |
When tor is compiled with the dirauth module disabled, it can't be configured as a directory authority.
Returns -1 and sets msg to a newly allocated string, if AuthoritativeDir is set in options. Otherwise returns 0.
Definition at line 50 of file dirauth_config.h.