Tor 0.4.9.0-alpha-dev
Functions | Variables
dos_sys.c File Reference

Subsystem definitions for DOS module. More...

#include "core/or/or.h"
#include "lib/subsys/subsys.h"
#include "core/or/dos_config.h"
#include "core/or/dos_sys.h"
#include "core/or/dos_options_st.h"

Go to the source code of this file.

Functions

static int subsys_dos_initialize (void)
 
static void subsys_dos_shutdown (void)
 
const dos_options_tdos_get_options (void)
 
static int dos_set_options (void *arg)
 

Variables

static const dos_options_tglobal_dos_options
 
const struct subsys_fns_t sys_dos
 

Detailed Description

Subsystem definitions for DOS module.

Definition in file dos_sys.c.

Function Documentation

◆ dos_get_options()

const dos_options_t * dos_get_options ( void  )

Definition at line 33 of file dos_sys.c.

◆ dos_set_options()

static int dos_set_options ( void *  arg)
static

Definition at line 40 of file dos_sys.c.

◆ subsys_dos_initialize()

static int subsys_dos_initialize ( void  )
static

Definition at line 21 of file dos_sys.c.

◆ subsys_dos_shutdown()

static void subsys_dos_shutdown ( void  )
static

Definition at line 27 of file dos_sys.c.

Variable Documentation

◆ global_dos_options

const dos_options_t* global_dos_options
static

Definition at line 18 of file dos_sys.c.

◆ sys_dos

const struct subsys_fns_t sys_dos
Initial value:
= {
.name = "dos",
.supported = true,
.level = DOS_SUBSYS_LEVEL,
.initialize = subsys_dos_initialize,
.shutdown = subsys_dos_shutdown,
.options_format = &dos_options_fmt,
.set_options = dos_set_options,
}
const config_format_t dos_options_fmt
Definition: dos_config.c:23
#define DOS_SUBSYS_LEVEL
Definition: dos_sys.h:23
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211

Definition at line 47 of file dos_sys.c.