From ed197fd4f923512fca5b93b90c2132845896fa59 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 27 Oct 2015 14:43:24 +0100 Subject: stats: Make net config optional To support reporters without network configuration, this commit introduces the have_net_config flag to provide corresponding error messages. Sponsored-by: On-Waves ehf --- include/osmocom/core/stats.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/osmocom/core/stats.h b/include/osmocom/core/stats.h index ed461ddc..9ee9f106 100644 --- a/include/osmocom/core/stats.h +++ b/include/osmocom/core/stats.h @@ -32,6 +32,8 @@ struct stats_reporter { enum stats_reporter_type type; char *name; + unsigned int have_net_config : 1; + /* config */ int enabled; char *name_prefix; -- cgit v1.2.3