summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-04-08 10:46:19 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-09 20:52:18 +0200
commit334c8e178008f3184382aae6c2cd13b9652169e2 (patch)
tree32a5edb304298d22dd6e4432fcdcc07fc360e946 /include
parent2d42ddeba37ed7e0d54bf10dc66b7549ad43bc5b (diff)
Add a function to search for a counter by name
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/statistics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/core/statistics.h b/include/osmocom/core/statistics.h
index 1d56054a..2c159657 100644
--- a/include/osmocom/core/statistics.h
+++ b/include/osmocom/core/statistics.h
@@ -28,4 +28,6 @@ void counter_free(struct counter *ctr);
int counters_for_each(int (*handle_counter)(struct counter *, void *), void *data);
+struct counter *counter_get_by_name(const char *name);
+
#endif /* _STATISTICS_H */