Tor  0.4.6.0-alpha-dev
Macros | Functions | Variables
dirauth_sys.c File Reference

Directory authority subsystem declarations. More...

#include "core/or/or.h"
#include "feature/dirauth/bwauth.h"
#include "feature/dirauth/dirauth_sys.h"
#include "feature/dirauth/dirvote.h"
#include "feature/dirauth/dirauth_periodic.h"
#include "feature/dirauth/keypin.h"
#include "feature/dirauth/process_descs.h"
#include "feature/dirauth/dirauth_config.h"
#include "feature/dirauth/dirauth_options_st.h"
#include "lib/subsys/subsys.h"

Go to the source code of this file.

Functions

static int subsys_dirauth_initialize (void)
 
static void subsys_dirauth_shutdown (void)
 
const dirauth_options_tdirauth_get_options (void)
 
STATIC int dirauth_set_options (void *arg)
 

Variables

static const dirauth_options_tglobal_dirauth_options
 
const struct subsys_fns_t sys_dirauth
 

Detailed Description

Directory authority subsystem declarations.

Definition in file dirauth_sys.c.

Variable Documentation

◆ sys_dirauth

const struct subsys_fns_t sys_dirauth
Initial value:
= {
.name = "dirauth",
.supported = true,
.initialize = subsys_dirauth_initialize,
.shutdown = subsys_dirauth_shutdown,
.options_format = &dirauth_options_fmt,
.set_options = dirauth_set_options,
}

Definition at line 54 of file dirauth_sys.c.

SUBSYS_DECLARE_LOCATION
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211
DIRAUTH_SUBSYS_LEVEL
#define DIRAUTH_SUBSYS_LEVEL
Definition: dirauth_sys.h:26
dirauth_options_fmt
const config_format_t dirauth_options_fmt
Definition: dirauth_config.c:462