2019-04-25 21:09:24 +02:00
|
|
|
/* Copyright (c) 2001 Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
|
|
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
#ifndef DIRVOTE_PERIODIC_H
|
|
|
|
#define DIRVOTE_PERIODIC_H
|
|
|
|
|
|
|
|
#ifdef HAVE_MODULE_DIRAUTH
|
|
|
|
|
2019-04-26 19:17:35 +02:00
|
|
|
void dirauth_register_periodic_events(void);
|
2019-04-25 21:09:24 +02:00
|
|
|
void reschedule_dirvote(const or_options_t *options);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
static inline void
|
|
|
|
reschedule_dirvote(const or_options_t *options)
|
|
|
|
{
|
|
|
|
(void)options;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|