diff options
Diffstat (limited to 'src/feature/metrics/metrics.h')
-rw-r--r-- | src/feature/metrics/metrics.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/feature/metrics/metrics.h b/src/feature/metrics/metrics.h new file mode 100644 index 0000000000..a30c271bea --- /dev/null +++ b/src/feature/metrics/metrics.h @@ -0,0 +1,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) */ |