summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-27 14:43:24 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-29 01:10:06 +0100
commited197fd4f923512fca5b93b90c2132845896fa59 (patch)
tree26d80bb2798387ac77280f5a87326d26aada5b1c /include/osmocom/core
parent4aa11770622ae9009074d68cc8c340821b19adf3 (diff)
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
Diffstat (limited to 'include/osmocom/core')
-rw-r--r--include/osmocom/core/stats.h2
1 files changed, 2 insertions, 0 deletions
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;