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

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

#include "lib/subsys/subsys.h"
#include "feature/metrics/metrics.h"
#include "feature/metrics/metrics_sys.h"

Go to the source code of this file.

Functions

static int subsys_metrics_initialize (void)
 
static void subsys_metrics_shutdown (void)
 

Variables

const subsys_fns_t sys_metrics
 

Detailed Description

Setup and tear down the metrics subsystem.

Definition in file metrics_sys.c.

Variable Documentation

◆ sys_metrics

const subsys_fns_t sys_metrics
Initial value:
= {
.name = "metrics",
.supported = true,
.initialize = subsys_metrics_initialize,
.shutdown = subsys_metrics_shutdown,
}
#define METRICS_SUBSYS_LEVEL
Definition: metrics_sys.h:20
#define SUBSYS_DECLARE_LOCATION()
Definition: subsys.h:211

Definition at line 27 of file metrics_sys.c.