aboutsummaryrefslogtreecommitdiff
path: root/src/feature/metrics/metrics.h
blob: a30c271beaacc74b1e014d0c40cfde132339e683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * @file metrics.h
 * @brief Header for feature/metrics/metrics.c
 **/

#ifndef TOR_FEATURE_METRICS_METRICS_H
#define TOR_FEATURE_METRICS_METRICS_H

#include "lib/metrics/metrics_common.h"

/* Initializer / Cleanup. */
void metrics_init(void);
void metrics_cleanup(void);

/* Accessors. */
char *metrics_get_output(const metrics_format_t fmt);

#endif /* !defined(TOR_FEATURE_METRICS_METRICS_H) */