Tor  0.4.4.0-alpha-dev
dirauth_sys.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-2020, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * @file dirauth_sys.h
9  * @brief Header for dirauth_sys.c
10  **/
11 
12 #ifndef DIRAUTH_SYS_H
13 #define DIRAUTH_SYS_H
14 
15 struct dirauth_options_t;
16 const struct dirauth_options_t *dirauth_get_options(void);
17 
18 extern const struct subsys_fns_t sys_dirauth;
19 
20 /**
21  * Subsystem level for the directory-authority system.
22  *
23  * Defined here so that it can be shared between the real and stub
24  * definitions.
25  **/
26 #define DIRAUTH_SUBSYS_LEVEL 70
27 
28 #ifdef DIRAUTH_SYS_PRIVATE
29 STATIC int dirauth_set_options(void *arg);
30 #endif
31 
32 #endif /* !defined(DIRAUTH_SYS_H) */
#define STATIC
Definition: testsupport.h:32