12 #ifndef TOR_FEATURE_DIRAUTH_DIRAUTH_CONFIG_H
13 #define TOR_FEATURE_DIRAUTH_DIRAUTH_CONFIG_H
17 #ifdef HAVE_MODULE_DIRAUTH
36 bool *print_notice_out);
60 *msg = tor_strdup(
"This tor was built with dirauth mode disabled. "
61 "It can not be configured with AuthoritativeDir 1.");
68 #define options_validate_dirauth_schedule(old_options, options, msg) \
69 (((void)(old_options)),((void)(options)),((void)(msg)),0)
70 #define options_validate_dirauth_testing(old_options, options, msg) \
71 (((void)(old_options)),((void)(options)),((void)(msg)),0)
73 #define options_act_dirauth(old_options) \
74 (((void)(old_options)),0)
75 #define options_act_dirauth_mtbf(old_options) \
76 (((void)(old_options)),0)
80 bool *print_notice_out)
83 *print_notice_out = 0;
87 #define dirauth_should_reject_requests_under_load() (false)
int options_act_dirauth_mtbf(const or_options_t *old_options)
const config_format_t dirauth_options_fmt
bool dirauth_should_reject_requests_under_load(void)
int options_act_dirauth_stats(const or_options_t *old_options, bool *print_notice_out)
int options_act_dirauth(const or_options_t *old_options)
int options_validate_dirauth_testing(const or_options_t *old_options, or_options_t *options, char **msg)
int options_validate_dirauth_schedule(const or_options_t *old_options, or_options_t *options, char **msg)
static int options_validate_dirauth_mode(const struct or_options_t *old_options, struct or_options_t *options, char **msg)
Integer definitions used throughout Tor.