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

Setup and tear down the HS subsystem. More...

#include "lib/subsys/subsys.h"
#include "feature/hs/hs_metrics.h"
#include "feature/hs/hs_sys.h"

Go to the source code of this file.

Functions

static int subsys_hs_initialize (void)
 
static void subsys_hs_shutdown (void)
 

Variables

const subsys_fns_t sys_hs
 

Detailed Description

Setup and tear down the HS subsystem.

Definition in file hs_sys.c.

Variable Documentation

◆ sys_hs

const subsys_fns_t sys_hs
Initial value:
= {
.name = "hs",
.supported = true,
.level = HS_SUBSYS_LEVEL,
.initialize = subsys_hs_initialize,
.shutdown = subsys_hs_shutdown,
.get_metrics = hs_metrics_get_stores,
}

Definition at line 25 of file hs_sys.c.

SUBSYS_DECLARE_LOCATION
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211
hs_metrics_get_stores
const smartlist_t * hs_metrics_get_stores(void)
Definition: hs_metrics.c:135
HS_SUBSYS_LEVEL
#define HS_SUBSYS_LEVEL
Definition: hs_sys.h:20