Tor  0.4.7.0-alpha-dev
Functions | Variables
relay_sys.c File Reference

Subsystem definitions for the relay module. More...

#include "orconfig.h"
#include "core/or/or.h"
#include "feature/relay/dns.h"
#include "feature/relay/ext_orport.h"
#include "feature/relay/relay_metrics.h"
#include "feature/relay/onion_queue.h"
#include "feature/relay/relay_periodic.h"
#include "feature/relay/relay_sys.h"
#include "feature/relay/routerkeys.h"
#include "feature/relay/router.h"
#include "lib/subsys/subsys.h"

Go to the source code of this file.

Functions

static int subsys_relay_initialize (void)
 
static void subsys_relay_shutdown (void)
 

Variables

const struct subsys_fns_t sys_relay
 

Detailed Description

Subsystem definitions for the relay module.

Definition in file relay_sys.c.

Variable Documentation

◆ sys_relay

const struct subsys_fns_t sys_relay
Initial value:
= {
.name = "relay",
.supported = true,
.initialize = subsys_relay_initialize,
.shutdown = subsys_relay_shutdown,
.get_metrics = relay_metrics_get_stores,
}
const smartlist_t * relay_metrics_get_stores(void)
#define RELAY_SUBSYS_LEVEL
Definition: relay_sys.h:23
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211

Definition at line 35 of file relay_sys.c.