Add a function to search for a counter by name
diff --git a/include/osmocom/core/statistics.h b/include/osmocom/core/statistics.h
index 1d56054..2c15965 100644
--- a/include/osmocom/core/statistics.h
+++ b/include/osmocom/core/statistics.h
@@ -28,4 +28,6 @@
 
 int counters_for_each(int (*handle_counter)(struct counter *, void *), void *data);
 
+struct counter *counter_get_by_name(const char *name);
+
 #endif /* _STATISTICS_H */